Update README
This commit is contained in:
parent
74d7564bdc
commit
2895d295e4
18
README.md
18
README.md
@ -34,6 +34,24 @@ Run
|
|||||||
docker run -d --rm -p 127.0.0.1:8000:8000 -v /var/lib/zetikettes/templates:/data zetikettes
|
docker run -d --rm -p 127.0.0.1:8000:8000 -v /var/lib/zetikettes/templates:/data zetikettes
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Notes for deploying
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
.h3 Initialize empty database
|
||||||
|
```
|
||||||
|
python manage.py migrate
|
||||||
|
```
|
||||||
|
|
||||||
|
.h3 Prepare static files
|
||||||
|
```
|
||||||
|
python manage.py collectstatic
|
||||||
|
```
|
||||||
|
The files will be in `www_static/` and need to be moved to `/var/lib/zetikettes/www_static`
|
||||||
|
|
||||||
|
.h3 Change host settings
|
||||||
|
If not deploying on `aerith.ponteilla.net`, you'll need to edit `backend/zetikettes/zetikettes/settings.py` to change a couple things in there.
|
||||||
|
|
||||||
|
|
||||||
Change available templates
|
Change available templates
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user