-
Create a virtual environment with venv(install venv, if its not installed).
python3 -m venv django-env
-
Clone the project in the same directory.
git clone https://github.com/lugnitdgp/interficio-backend.git
-
Activate the virtual environemnt.
source dajngo-env/bin/activate
-
Install the requirements.
cd interficio-backend pip install -r requirements.txt
-
Copy the .env.example file to .env file.
cp .env.example .env
-
Open the .env file and add an arbitary secret key.
-
Migrate your database and run the Django Development Server.
python manage.py makemigrations python manage.py migrate python manage.py runserver
-
Open
http://localhost:8000
in your browser.