Skip to content

taherihamed/cinematicket

 
 

Repository files navigation

Cinema Ticket


CinemaTicket Project

Image

Image

Run with Docker


* First, you should install [Docker]
  • Then clone the project:
https://github.com/iamnimix/cinematicket.git

After you created your .env.production file:

DEBUG=False
SECRET_KEY=django-insecure-(baf(oh0)=@xwmt7pu@re3oe1!(yz2%k_tfc4))5qam*m6+b=_

# DATABASE
DB_NAME=cinematicket
DB_USER=iamnimix
DB_PASSWORD=iamnimix22
DB_HOST=db
DB_PORT=5432

#Celery
CELERY_BROKER_URL=redis://redis:6379
CELERY_RESULT_BACKEND=redis://redis:6379


#Redis
HOST=redis

After :

docker compose up --build

Then Migrate your database:

  • First:
docker exec -it cinematicketproject-server-1 bash
  • Then:
python manage.py makemigrations cinema, account
python manage.py migrate

Finally :

python manage.py createsuperuser

About

CinemaTicket Project

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 79.4%
  • HTML 18.6%
  • Shell 1.2%
  • Dockerfile 0.8%