You will need the following commands:
python
sqlite3
wget
printf
gzip
... if you have a bash terminal open, it should hopefully work.
Then just run python setup-database.py
and grab a coffee, it'll download the script,
install it into the sqlite database, and remove all the temporary downloaded files.
Your database will be available at test.db
.
- create a new .venv with
python -m venv .venv
- activate the venv
- install
pipenv
usingpip install pipenv
- install all packages using
pipenv install
- install pre-commit hooks by using
pre-commit install
- cd to
frontend/
yarn install
yarn build
From the root of the repo, run flask run --host=0.0.0.0 --port=8000 --debug
.
This starts up flask in the backend.
- Run the flask server (see "Run Application")
- cd to
frontend/
and runyarn serve
.
If this does not work, try npm install
and npm run serve
.