- Clone this project
git clone http://squad.eito.space/git/MyWhy/squad.git
- Go To Project Directory
cd squad
- Create a Virtual Environment
python3 -m vevn env
- Activate Virtual Environment
source env/bin/activate
- Install Requirements Packages
python3 -m pip install -r requirements.txt
- Install Mysql Client
python3 -m pip install mysqlclient
- Login to your Mysql Server and Create Database
CREATE DATABASE squad
- Change the Database Settings on the settings.py DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'squad', 'PASSWORD': 'your root password', 'USER' : 'root', 'HOST' : 'localhost' }
- Do the Migrations
python3 manage.py makemigrations
- Migrate the Database
python3 manage.py migrate
- Create Super User
python3 manage.py createsuperuser
- Run the Server
python3 manage.py runserver
- Login