From f1d042d74dc8f51733200cd132021a92e2002d0f Mon Sep 17 00:00:00 2001 From: pwi Date: Sun, 21 Jul 2024 19:15:35 +0200 Subject: [PATCH] Add instructions to README, and update link on Get Started page --- README.md | 13 ++++++++++++- src/pages/get-started.astro | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 002c545..dcd145b 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,21 @@ All commands are run from the root of the project, from a terminal: | `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | | `npm run astro --help` | Get help using the Astro CLI | +## Instructions on how to run your own server +The archive file contains a dist/ folder that needs to be placed into a copy of this cloned repo. Then you can serve it using grunt serve. On a production site, you should to use these environment variables: + +``` +NODE_ENV=production +GI_PERSIST=sqlite (or GI_PERSIST=fs, but sqlite is recommended) +``` + +We plan to eventually publish some docker containers that will do all of this for you. + + ## 👀 Want to learn more? Check out [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). ## Credit -This theme is based off of the lovely [Bear Blog](https://github.com/HermanMartinus/bearblog/). +This theme is based off of the lovely [Bear Blog](https://github.com/HermanMartinus/bearblog/). \ No newline at end of file diff --git a/src/pages/get-started.astro b/src/pages/get-started.astro index 1b35a7d..24bd53e 100644 --- a/src/pages/get-started.astro +++ b/src/pages/get-started.astro @@ -21,7 +21,7 @@ import Servers from '../components/Servers.vue';

Don’t see a server you like? - + Run your own server