This is the simplest configuration for developers to start with.
- Run
./dev/init-minio.sh
- Run
docker-compose run web ./manage.py migrate
- Run
docker-compose run web ./manage.py createsuperuser
and follow the prompts to create your own user
- Run
docker-compose up
- When finished, use
Ctrl+C
This configuration still uses Docker to run attached services in the background, but allows developers to run the Python code on their native system.
- Run
./dev/init-minio.sh
- Run
docker-compose -f ./docker-compose.yml up -d
- Install Python 3.8
- Install
psycopg2
build prerequisites - Create and activate a new Python virtualenv
- Run
pip install -e .
- Run
source ./dev/.env-docker-compose-native.sh
- Run
./manage.py migrate
- Run
./manage.py createsuperuser
and follow the prompts to create your own user
- Run (in separate windows) both:
./manage.py runserver
celery worker --app dandi.celery --loglevel info --without-heartbeat
- When finished, run
docker-compose stop