- latest version of Docker and Compose
Copy and edit our env file
mv .env.example .env && nano .env
Run the containers and buid
docker-compose up --build
Run the migrations
docker-compose exec --rm api python manage.py migrate
Load database from dump
cat dump.sql | docker exec -i api_db_1 sh -c "pg_restore -C -Fc -j8 | psql -U <YOUR_ENV_POSTGRES_USER> <YOUR_ENV_POSTGRES_DB>"
Now you can go to http://localhost:8000/ in the browser and enjoy cualbondi api.
To access django's admin interface go to http://localhost:8000/admin/ and login with user admin
pass admin
Cualbondi software is distributed under GNU AGPLv3. See LICENSE file on directory root.
- Julian Perelli
- Martin Zugnoni
- Bruno Cascio