Shuffle a couple files around
This commit is contained in:
parent
54cf627a01
commit
bb9bfc1346
|
@ -92,7 +92,7 @@ mv database.db instance/
|
|||
|
||||
# Use the aviary index.html page as the 404 page
|
||||
# CHANGE THE /path/to/aviary/index.html TO POINT TO index.html IN THIS REPO
|
||||
ln -fs /path/to/aviary/www/index.html templates/404.html
|
||||
ln -fs /path/to/aviary/dist/www/index.html templates/404.html
|
||||
|
||||
# Run the server
|
||||
gunicorn fhost:app
|
||||
|
@ -101,10 +101,10 @@ gunicorn fhost:app
|
|||
You'll also need to serve the `index.js` file generated during the **building**
|
||||
step at `/index.js`. This can be done using an external webserver. A sample
|
||||
`Caddyfile` exists in `:dist/`. To use this, run the following command from
|
||||
root of `aviary`'s repository:
|
||||
the `dist/` directory.
|
||||
|
||||
```bash
|
||||
caddy run -config dist/Caddyfile
|
||||
caddy run
|
||||
```
|
||||
|
||||
[`aviary-cli`]: https://fem.mint.lgbt/Emi/aviary-cli
|
||||
|
|
0
www/index.html → dist/www/index.html
vendored
0
www/index.html → dist/www/index.html
vendored
0
www/index.js → dist/www/index.js
vendored
0
www/index.js → dist/www/index.js
vendored
Loading…
Reference in a new issue