498 B
498 B
Steps to Deploy
- move contents of static/ to /srv/www-csc-links/
- create a
.env
file in server/ with following contents:
PASSWORD=...
PORT=...
- Install the pip dependencies. One possible way to do so is to run the following in server/:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- run server.py in server/ (with the pip dependencies installed)
- edit the
.htaccess
file in /srv/www-csc-links/ to point to the running python application