Initialize the django project
Create a git repo
Start the dev environment
To start the project, we need an environment that is setup for developing django projects. It is recommended to have a Docker container specifically for this purpose. Note that we are not going to run the django project from this container. This container is only for starting up the project.
The ece-li-scheduling-docker git repo contains a Dockerfile called Dockerfile.django-dev.001
to build such an environment.
Enter the dev environment:
docker exec -it dev-env-1 /bin/bash
Go to the
/opt
folder.
Modify ALLOWED_HOSTS.