The first thing to do is to clone the repository:
$ git clone https://github.com/gocardless/https://github.com/KaloriKu/KaloriKu_Backend.git
$ cd KaloriKu_BackendCreate .env file based on the .env.example:
DB_NAME=KaloriKu
DB_USER=postgres
DB_PASSWORD=postgres
DB_HOST=localhost
DB_PORT=5432
SECRET_KEY=HALOAKUGANTENGCreate a virtual environment to install dependencies in and activate it:
$ python -m venv env
$ env\Scripts\activate.batThen install the dependencies:
(env)$ pip install -r requirements.txtNote the (env) in front of the prompt. This indicates that this terminal
session operates in a virtual environment.
Once pip has finished downloading the dependencies:
(env)$ python manage.py runserver