HexOcean-DRF-Task

Running Project Locally (Windows 10)

Installation

First, clone the repository to your local machine (SSH example):

git clone git@github.com:Rantoryu/HexOcean-Task.git

Create and activate virtual environment (Windows10):

python3 -m venv .venv
.\.venv\Scripts\activate.ps1

Move to drf_project folder that contains manage.py file (using terminal from IDE):

cd .\drf_project\

Install the requirements:

pip install -r requirements.txt

Apply the migrations:

python manage.py makemigrations
python manage.py migrate

Finally, run the development server:

python manage.py runserver

The project will be available at 127.0.0.1:8000.