Software Engineer Task: Back-End
docker compose run app poetry run python manage.py migrate
-
Clone the Project:
git clone https://github.com/SepehrBazyar/BitPin.git
-
Navigate to the Project Directory:
cd BitPin
-
Create a Virtual Environment("venv" is a Selective Name):
python3 -m venv venv
-
Activate the Interpreter of the Virtual Environment:
-
Linux:
source venv/bin/active
-
Windows:
venv\Script\active
-
-
Install the Dependencies:
pip install poetry && poetry install
-
Create a
.env
File in Root Directory and Add Your Created Config:DEBUG = <project-debug-status> SECRET_KEY = <django-insecure-secret-key>
-
After that, Migration:
python3 manage.py migrate
-
Write the Following Command to Run the Server:
python3 manage.py runserver
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.