LinkList/README-deploy.md

16 lines
498 B
Markdown
Raw Normal View History

### Steps to Deploy
2021-06-06 21:56:07 -04:00
- move contents of static/ to /srv/www-csc-links/
- create a `.env` file in server/ with following contents:
```
PASSWORD=...
PORT=...
```
2021-06-06 21:56:07 -04:00
- 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
```
2021-06-06 21:56:07 -04:00
- 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