Skip to content

Jescad29/webempresa

Repository files navigation

Project: Coffe Shop Website Fronted and Backend

A scalable coffee shop website with service management, a blog with categories, a contact form, and a custom Django administrator panel.

Prerequisites:

You must have the following tools installed globally on your machine:

  • Docker
  • PostgreSQL (Recommended)

Installation:

Clone the repo via git:

git clone git@github.com:Jescad29/webempresa.git

Initial project setup:

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 = ' '

Running the aplication:

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

Create the first migration:

  • 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

references

Project created in the course: Practical Django Course: Web Development Backend with Python

About

Proyecto WEB de una Empresa

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published