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
|
# 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
|
# 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
|
# Run the server
|
||||||
gunicorn fhost:app
|
gunicorn fhost:app
|
||||||
|
@ -101,10 +101,10 @@ gunicorn fhost:app
|
||||||
You'll also need to serve the `index.js` file generated during the **building**
|
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
|
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
|
`Caddyfile` exists in `:dist/`. To use this, run the following command from
|
||||||
root of `aviary`'s repository:
|
the `dist/` directory.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
caddy run -config dist/Caddyfile
|
caddy run
|
||||||
```
|
```
|
||||||
|
|
||||||
[`aviary-cli`]: https://fem.mint.lgbt/Emi/aviary-cli
|
[`aviary-cli`]: https://fem.mint.lgbt/Emi/aviary-cli
|
||||||
|
|
Loading…
Reference in New Issue