- It is a simple project to teach, how to create Multi tenant config
- To Up the containers use docker and run
docker-compose up -d - Your project should be running at
http://0.0.0.0:8080/
- To run any code in container use
docker-compose exec web bash
- To run tests use
docker-compose exec web pythonn manage.py test -v 2
- To run Migrations in all schemas use
docker-compose exec web python manage.py migrate_schemas - Use
--sharedto execute only in apps declarede here ->SHARED_APPS - Create Super user in any tenant
docker-compose exec web python manage.py tenant_command createsuperuser