Skip to content

Naked Chef is a chain of restaurants which cooks delecious πŸ˜ŠπŸ•

Notifications You must be signed in to change notification settings

oogway93/NakedChef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

61 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

NakedChef

NakedChef is a restaurant with lots of various and delicious food.

Basic starting

  1. Firstly, you need to make a local environment and activate it.
    python -m venv venv
    source venv/bin/activate
  2. Install packages.
    pip install -r requirements.txt
  3. Create a ".env" file at the root of the directory with params.
    DEBUG=True or False
    SECRET_KEY='see in the Internet'
    
    # ALL SETTINGS FOR !POSTGRESQL!
    DB_USER='your postgres user'
    DB_PASS='your password for user'
    DB_NAME='your name of db'
    DB_HOST='127.0.0.1' or 'localhost'
    DB_PORT='5432'
    
    REDIS_HOST='127.0.0.1'
    REDIS_PORT='6379'
  4. After that, do migrate to your DB.
    python manage.py migrate
  5. Finally, you can start the project with third-party tools due commands.
    python manage.py runserver or gunicorn main.wsgi --reload
    celery -A main.celery:app worker -l INFO 
    celery -A main.celery:app flower -l INFO 
    
    

As well as, you can start tests in the project

python manage.py test <'name_folder'> ( without (),<> and '' )

Docker starting

  1. Create a ".env" file at the root of the directory with params.
    DEBUG=False
    SECRET_KEY='see in the Internet'
    
    # ALL SETTINGS FOR !POSTGRESQL!
    DB_USER='your postgres user'
    DB_PASS='your password for user'
    DB_NAME='your name of db'
    DB_HOST='db'
    DB_PORT='5432'
    
    REDIS_HOST='redis'
    REDIS_PORT='6379'
  2. Do command.
    docker compose up -d --build
    
  3. Let's check site's pages...

Some pictures

  1. Main page > main page

  2. Menu > menu

  3. Registration form > registration

  4. Login

login

  1. Profile

profile

  1. Shopping basket

ordering

  1. Ordering form

ordering form

  1. Orders

orders

  1. Details of order

details

About

Naked Chef is a chain of restaurants which cooks delecious πŸ˜ŠπŸ•

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published