Skip to content

DarkBox is a catalog of different electronics at an affordable price

Notifications You must be signed in to change notification settings

oogway93/DarkBox

Repository files navigation

DarkBox

DarkBox is a catalog of different electronics at an affordable price.

  1. Firstly, you need to make an local environment and activate it
    python -m venv venv
    source venv/bin/activate
  2. Insall packages
    pip install -r requirements.txt
  3. Create a ".env" file at the root of the directory with params
    DEBUG=True or False
    
    # 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'
  4. After that, make migrations and do migrate to your DB
    python manage.py makemigrations
    python manage.py migrate
  5. Finally, you can start the project due a command
    python manage.py runserver
    

As well as, you can start tests

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

About

DarkBox is a catalog of different electronics at an affordable price

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published