A scalable coffee shop website with service management, a blog with categories, a contact form, and a custom Django administrator panel.
You must have the following tools installed globally on your machine:
- Docker
- PostgreSQL (Recommended)
Clone the repo via git:
git clone git@github.com:Jescad29/webempresa.git
Add the following environment variables to the env file, it is recommended to use https://mailtrap.io/home for testing.
EMAIL_H = ' '
EMAIL_HOST_U = ' '
EMAIL_HOST_P = ' '
EMAIL_P = ' '
Server: 127.0.0.1:8000/
To run the application, execute the following commands in this order.
- Run docker-compose up, and Compose starts and runs the entire application.
docker-compose up
- Run docker-compose up -d to run Docker Compose in the background.
docker-compose up -d
- Run docker-compose exec django sh to enter the django terminal
docker-compose exec django sh
- Run the command python manage.py migrate
python manage.py migrate
Run the command python manage.py createsuperuser and fill in the corresponding fields (Username, email, password)
python manage.py createsuperuser
To exit the container terminal, press CTRL + D
Project created in the course: Practical Django Course: Web Development Backend with Python