Skip to content

Hack-Weekly/lavender-sudoku

Repository files navigation

#Sudoku

Guide for setting up Development Environment

  1. Install Python Virtual env
apt install python3-env

or

 pip install virtualenv

2.Create Virtual environment

virtualenv

copy project folder in virtual environment or clone repo directly in virtual environment

  1. Activate virtual environment

Linux

source bin/activate

Windows

source script/activate

  1. Install required packages

pip install -r requirements.txt

  1. create .env file in root directory and copy data from template.env file

  2. make migrations and migrate

python manage.py makemigrations && python manage.py migrate

  1. create superuser

python manage.py createsuperuser

  1. run server

python manage.py runserver

<hr>