Skip to content

Michael-Spirit/buddha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buddha

test task for BuddhaSoft

Local deployment

Install python version 3.6 (you can do it with pyenv)

$ pyenv install 3.6.1

Create virtual environment (ypu can do it with mkvirtualenv for example)

$ mkvirtualenv -p PYTHON_DIR VENV_NAME

Go to project dir

# cd /home/project_dir

Install project requirements

$ pip install -r requirements.txt

Run migrations

$ python manage.py migrate

Run tests

$ python manage.py test

Create superuser

$ python manage.py createsuperuser

Run server

$ python manage.py runserver

Go to /admin, login as superuser and create manager user

$ localhost:8000/admin/

Swagger used as docs. Login as manager to see all API views there.

$ localhost:8000/docs/

About

test task for BuddhaSoft

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages