From 3728e22d7f8c7ca07e0d67cad0437842b9ef00be Mon Sep 17 00:00:00 2001 From: Ben C Date: Sun, 19 Jun 2022 18:19:06 -0700 Subject: [PATCH] Update Setup.md --- docs/Setup.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/Setup.md b/docs/Setup.md index 85fed7e7..c443f581 100644 --- a/docs/Setup.md +++ b/docs/Setup.md @@ -22,11 +22,9 @@ pipenv install --dev ## Environment Variables - URL_PREFIX: Path to put before all links and static files, see below for recommended values - - Production: "/" - - Local Build: "" (set as empty string) + - Production and Local Builds: "/" - PyCharm Development Server: "/outer-wilds-new-horizons/docs/out/" - ## Copy Schemas Create a folder called `schemas` in the `docs/content/pages/` folder and copy all schemas to generate into it, make sure not to add this folder to git. Production build automatically copies over schemas. @@ -39,5 +37,5 @@ pipenv run menagerie generate ## Opening - Production: Go to the site -- Local: Open `out/index.html` +- Local: Go into `docs/out` in a new terminal window and run `py -m http.server 8080` and then connect to http://localhost:8080/ - PyCharm Development Server: Right click `out/index.html` -> Open In -> Browser -> Default