- Close the repo:
git clone https://github.com/JSerwatka/HexImages.git
- Change directory:
cd HexImages
- Run the multi-container app:
docker-compose up
- Run bash inside the django app container:
docker exec -it hex_images bash
- Run migration:
python manage.py migrate
- Create an admin account with
python manage.py createsuperuser
- Your development server is available at localhost:8000
- From the admin panel create 3 account tiers: Basic, Premium, Enterprise. Enter available image heights as comma-seperated positive integer list (e.g., "200,400").
If docker-compose up
don't run, make sure that wait-for-it.sh has LR line break.