This is a vanilla Django project intended to be a testbed for components of the EarthScope cloud functionality.
- Kafka Example implements an example "round-trip" data path through collection/archiving/distribution.
- User implements an example "round-trip" data path through collection/archiving/distribution.
- Docker : recipe for building the django image
- www : project definition
- www/settings.py : main settings
- www/urls.py : top-level routing table
- requirements.txt : python environment definition
Static files are expected to be in /django-static.
Install the dependencies (preferably in a dedicated environment):
pip install -r requirements.txt
Set up the database:
python manage.py migrate
Run the dev server:
python manage.py runserver 0.0.0.0:8000
After making a code change, run (from the main project directory):
docker compose up -d --build