The site provides a catalog of board games with user authorization, comments and likes. There is also an API.
The first thing to do is to clone the repository:
$ git clone https://github.com/polina-koval/BG.git
$ cd BGCreate a virtual environment to install dependencies in and activate it:
$ virtualenv venv
$ source venv/bin/activateThen install the dependencies:
(venv)$ pip install -r requirements.txtThere is a file in the repo ".env.example", this file for use in local development. Duplicate this file as .env in the root of the project and update the environment variables SECRET_KEY, EMAIL_HOST_USER, EMAIL_HOST_PASSWORD.
$ cp .env.example .envOnce pip has finished downloading the dependencies and the variable is updated:
(venv)$ python manage.py runserverNavigate to http://127.0.0.1:8000/catalog to the website and http://127.0.0.1:8000 to the API.
- Django
- Django Rest Framework