57688426b6 | ||
---|---|---|
.. | ||
Dockerfile | ||
README.md | ||
createdb.sql | ||
docker-compose.yml | ||
env.example | ||
init_project.sh | ||
requirements.txt |
README.md
orchestra environment based on docker-compose
Docker compose environment to develop django-orchestra.
NOTE: On web container, volume /code
contains the source code of the host.
- Build (or rebuild if any change done) the containers:
cd examples/
docker-compose build
- Start the containers:
docker-compose up
- Run a bash on
web
container:
docker-compose run web bash
- Run on the web docker container the first time:
su - orchestra
bash /code/examples/init_project.sh
- Run tests or do whatever you need:
cd panel
python manage.py test --noinput orchestra.contrib.lists.tests.functional_tests.tests.AdminListTest.test_add