From bb9bfc13468d6e5bf0eb16d5ee76ddeae69a5d33 Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Sat, 12 Nov 2022 22:06:22 -0500 Subject: [PATCH] Shuffle a couple files around --- README.md | 6 +++--- {www => dist/www}/index.html | 0 {www => dist/www}/index.js | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename {www => dist/www}/index.html (100%) rename {www => dist/www}/index.js (100%) diff --git a/README.md b/README.md index f1427b7..0e6807e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/www/index.html b/dist/www/index.html similarity index 100% rename from www/index.html rename to dist/www/index.html diff --git a/www/index.js b/dist/www/index.js similarity index 100% rename from www/index.js rename to dist/www/index.js