2025-08-14 19:00:44 +02:00
2025-03-12 01:09:08 +01:00
2025-03-18 21:15:59 +01:00
2021-08-12 12:50:01 +02:00
2025-08-14 19:00:44 +02:00
2017-11-11 15:37:13 +01:00
2025-03-12 01:09:08 +01:00
2025-03-11 20:37:24 +01:00
2025-03-11 20:37:24 +01:00
2023-01-19 11:26:56 +01:00
2025-03-11 22:28:15 +01:00
2025-03-11 22:28:05 +01:00
2025-08-14 21:20:05 +02:00

Programvareverkstedets nettside

A website created with the latest and greatest web technologies. May contain blackjack and other things one tends to include in awesome projects.

Installation

git clone --recursive https://github.com/Programvareverkstedet/nettsiden.git

Put it in a folder your webserver can find.

Development setup

The development environment can be setup with:

nix develop

For this you will need to install the nix package manager and possibly set the experimental features in your nix config, likely located at /etc/nix/nix.conf or $HOME/.config/nix/nix.conf.

Installing nix with your package manager might not work without some tweaking, but the upstream script should just work which you can find here.

experimental-features = flakes nix-command

You can then run the server with:

runDev

Admin account

Login goes through idp.pvv.ntnu.no via SAML, so you have to use your PVV account. (This only works if you use access the local development site via the the hostname localhost) To make your account into an admin account, run:

sqlite3 pvv.sqlite "INSERT INTO users (uname, groups) VALUES ('YOUR_USERNAME', 1);"

Hosting

Languages
JavaScript 48.4%
PHP 39.8%
CSS 6.4%
Nix 3.9%
HTML 1.3%
Other 0.2%