django-orchestra-test/examples
Cayo Puigdefabregas 57688426b6 adding improvements to init_project.sh 2021-02-15 21:11:24 +01:00
..
Dockerfile Create docker-compose devel environment 2021-02-12 19:13:11 +01:00
README.md adding improvements to init_project.sh 2021-02-15 21:11:24 +01:00
createdb.sql fixing createdb 2021-02-12 16:18:51 +01:00
docker-compose.yml Create docker-compose devel environment 2021-02-12 19:13:11 +01:00
env.example Create docker-compose devel environment 2021-02-12 19:13:11 +01:00
init_project.sh adding improvements to init_project.sh 2021-02-15 21:11:24 +01:00
requirements.txt Create docker-compose devel environment 2021-02-12 19:13:11 +01:00

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.

  1. Build (or rebuild if any change done) the containers:
cd examples/
docker-compose build
  1. Start the containers:
docker-compose up
  1. Run a bash on web container:
docker-compose run web bash
  1. Run on the web docker container the first time:
su - orchestra
bash /code/examples/init_project.sh
  1. Run tests or do whatever you need:
cd panel
python manage.py test --noinput orchestra.contrib.lists.tests.functional_tests.tests.AdminListTest.test_add