aboutsummaryrefslogtreecommitdiff
path: root/DEPLOY.md
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-09-14 23:04:53 +1000
committerTerry Truong <terry06890@gmail.com>2022-09-14 23:04:53 +1000
commit796c4e5660b1006575b8f2af9d99e2ce592c767a (patch)
tree63ec6c7f373dedf521c260438d4b776955107bc3 /DEPLOY.md
parent6d4ede5714f7a3616e90eac76523e892ddf37926 (diff)
Update credits
Diffstat (limited to 'DEPLOY.md')
-rw-r--r--DEPLOY.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/DEPLOY.md b/DEPLOY.md
index a92151a..5e79b5e 100644
--- a/DEPLOY.md
+++ b/DEPLOY.md
@@ -20,12 +20,12 @@
1. Copy files to the server (using ssh, sftp, or otherwise)
1. Copy `dist/` into Apache's document root, into the directory where Tilo will be served.
The created directory should match up with the `base` value above (eg: `/var/www/terryt.dev/tilo/`).
- 1. Copy over `backend/tolData/data.db`. The result should be denoted by the `DB_FILE` value above.
+ 1. Copy over `backend/tilo.py`. The location should be accessible by Apache (eg: `/usr/local/www/wsgi-scripts/`).
Remember to set ownership and permissions as needed.
- 1. Copy over the images in `backend/tolData/img/`. There are a lot of them, so compressing them
- before transfer is advisable (eg: `tar czf imgs.tar.gz backend/tolData/img/`). The location should
+ 1. Copy over `backend/tol_data/data.db`. The result should be denoted by the `DB_FILE` value above.
+ 1. Copy over the images in `backend/tol_data/img/`. There are a lot of them, so compressing them
+ before transfer is advisable (eg: `tar czf imgs.tar.gz backend/tol_data/img/`). The location should
match up with the `SERVER_IMG_PATH` value above (eg: `/var/www/terryt.dev/img/tilo/`).
- 1. Copy over `backend/tilo.py`. The location should be accessible by Apache (eg: `/usr/local/www/wsgi-scripts/`).
1. Edit the site's config file to serve tilo.py. The file path will likely be something like
`/etc/apache2/sites-available/terryt.dev-le-ssl.conf`, and the edit should add lines like the following,
likely within a `<VirtualHost>` section: