Author: Callum Gavin [email protected]
Supported commands:
cd django-base-main
poetry install
poetry run python manage.py migrate
npm install
npm run build
poetry run python manage.py runserver
Note: you can refresh the page while the GET call to Wikipedia API is in progress to see chart data as it is persisted.
poetry run pytest
Append JSON objects to django-base-main/pages/data/solar_events.json
poetry run python manage.py dbshell
DELETE FROM pages_solarevent;
DELETE FROM pages_revision;
sqlite> select count(1) from pages_revision;
10115