Girder Auth Design
Develop with Docker
Due to the dependency on npm and Python2, Docker development is the only supported configuration.
Initial Setup
- Run
docker-compose run --rm django ./manage.py migrate
- Run
docker-compose run --rm django ./manage.py tailwind install
- Run
docker-compose run --rm django ./manage.py createsuperuser
and follow the prompts to create your own user
Run Application
- Run
docker-compose up
- Access the site, starting at http://localhost:8000/
- Outgoing emails are sent to the console
- The Django admin interface is still available at http://localhost:8000/admin/
- When finished, use
Ctrl+C
Application Maintenance
Occasionally, new package dependencies or schema changes will necessitate maintenance. To non-destructively update your development stack at any time:
- Run
docker-compose pull
- Run
docker-compose build
- Run
docker-compose run --rm django ./manage.py migrate
- Run
docker-compose run --rm django ./manage.py tailwind install