Skip to content

KaloriKu/KaloriKu_Backend

Repository files navigation

KaloriKu_Backend

Setup

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_Backend

Create .env file based on the .env.example:

DB_NAME=KaloriKu
DB_USER=postgres
DB_PASSWORD=postgres
DB_HOST=localhost
DB_PORT=5432
SECRET_KEY=HALOAKUGANTENG

Create a virtual environment to install dependencies in and activate it:

$ python -m venv env
$ env\Scripts\activate.bat

Then install the dependencies:

(env)$ pip install -r requirements.txt

Note 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors