Skip to content

dino-mayk/Keratech

Repository files navigation

KeraTech

Quick start

Clone the repository:

git clone https://github.com/dino-mayk/Keratech.git

Create a virtual environment:

Windows:

python -m venv venv

Mac, Linux:

python3 -m venv venv

Activate the virtual environment:

Windows:

cd venv/Scripts/
.\activate

Mac, Linux:

source venv/bin/activate

Install dependencies:

Windows:

pip install -r requirements.txt

Mac, Linux:

pip3 install -r requirements.txt

Run postgres container:

docker run -d -p 5432:5432 --name postgres -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres postgres:latest

Django server:

Windows:

python manage.py runserver

Mac, Linux:

python3 manage.py runserver