Check out the post.
-
Fork/Clone
-
Spin up a PostgreSQL database using Docker:
$ docker run --name sprinty-postgres -p 5432:5432 \ -e POSTGRES_USER=sprinty -e POSTGRES_PASSWORD=complexpassword123 \ -e POSTGRES_DB=sprinty -d postgres
-
Populate the database:
$ python manage.py populate_db
-
Your tenants should be accessible at the following URLs:
public
: http://localhost:8000/api/demo1
: http://demo1.localhost:8000/api/demo2
: http://demo2.localhost:8000/api/
-
Tenant information including admin credentials, can be found in tenants.json file.