diff options
author | Pjotr Prins | 2022-12-24 12:11:14 +0100 |
---|---|---|
committer | Pjotr Prins | 2022-12-24 12:11:14 +0100 |
commit | 413424629125ca035c64fb2f4a9529c3930733c4 (patch) | |
tree | eaa7c0b6b7cae6ecce25f79429a70160758a9982 /topics | |
parent | 3f9dfbc66caae1e2d2c78f3a363991fff0beb97e (diff) | |
download | gn-gemtext-413424629125ca035c64fb2f4a9529c3930733c4.tar.gz |
Note on GN3 settings file
Diffstat (limited to 'topics')
-rw-r--r-- | topics/starting_gn2_and_gn3.gmi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/topics/starting_gn2_and_gn3.gmi b/topics/starting_gn2_and_gn3.gmi index 2ce6aed..1cfed14 100644 --- a/topics/starting_gn2_and_gn3.gmi +++ b/topics/starting_gn2_and_gn3.gmi @@ -1,6 +1,8 @@ # How to Start GN2 and GN3 -This document describes how we run GN2 and GN3 on the current production setup. +This document describes in a short how we run GN2 and GN3 on the current production setup. + +Note that we should replace this with a system container. This details how GN2/GN3 production are currently started. It's probably a good idea to create a shell script for starting GN3 like we have for GN2 at some point, since currently environment variables are set manually. @@ -32,6 +34,8 @@ Start GN3 from the relevant directory env FLASK_DEBUG=1 FLASK_APP="main.py" CORS_ORIGINS="http://gn2-zach.genenetwork.org:*,https://gn2-zach.genenetwork.org:*,http://genenetwork.org:*,https://genenetwork.org:*" flask run --port=8081 ``` +GN3 has a settings.py file now. See the README. + ## Start production on port 8087 ``` |