- Install Python 3.8.4
- Install docker.
- Install docker-compose.
- Install Poetry.
- Clone the project using git.
- Go to project files.
- Copy
.env.example
to.env
, and change values (if needed). - Run
poetry install
to install dependencies and it will create a virtualenv automatically. - Run
poetry shell
to activate the virtual environment. - Run
docker-compose up
to run the db container and leave it running, you can add-d
to previous command to run into detached mode. - Open another terminal inside the project's folder and activate the virtualenv.
- Apply the migrations
./manage.py migrate
. - Then run
./manage.py runserver
to run the development server. - Visit the project on this URL: localhost:8000/events/
- You should see the project running without any problems.