code for the tmi-archive.com project
- Build and start the service:
docker-compose build --pull docker-compose up -d
- Run migrations:
docker-compose exec app ./manage.py migrate
- Create an admin user:
docker-compose exec app ./manage.py createsuperuser
- Open the admin site and log in: https://127.0.0.1:8000/admin/.
- Set the site domain: open https://127.0.0.1:8000/admin/sites/site/1/change/ and set Domain name to
127.0.0.1:8000
.