Tool for managing staff teaching time.
<<<<<<< before updating
Clone the repo to the server:
cd /var/www/
git clone https://github.com/Southampton-RSG/physics-workloadAlso copy the cut-down spreadsheets derived from the workload 2425.xlsx spreadsheet into the same directory as the code.
They aren't included in the repo as they contain personally identifiable data.
The tool is run using docker compose. Generally, it's best to do this in a screen session.
Start the server (and associated containers) using:
screen
sudo docker compose upIf this is the first time the tool is being run, import the .csv data:
sudo docker exec -it physics-workload-django /bin/bash
make clean
make data
make superuserThen, log into the website to link your user account to the site.
The command make superuser will then make the swm1r18 account site staff;
edit the script make_swm1r18_superuser.py to change the account.
To update the tool, take the containers down, rebuild, and restart using:
screen -r
sudo docker compose down
sudo docker compose build --no-cache
sudo docker compose up=======
after updating [!NOTE] This library was generated using copier from the Base Python Project Template repository.