app.py is for debugging and verifying, and main.py is for generating the static website.
The chart state is not include into the base URL of the static website, but is include in URL like
base#state
So the full state of the page can be shareable on the web.
git clone git@github.com:covid2019memories/covid2019memories.org.git
git clone git@github.com:covid2019memories/covid2019-memories.git
cd covid2019memories.org
. helloThe above steps will setup a development enviroment, and get into the virtualenv environment.
FLASK_APP=src/app.py python -m flask runto run the development server
python -m mainto generate all the static pages.
nginx -p . -c ngx.confto start a test server
wget --spider --no-verbose -r http://localhost:8181to find missing links