Step 1: Downloading and Installing the Code Editor
You can download and install any one of the following IDE.
- Visual Studio Code (Preferred)
- Sublime Text 3
- Atom
Step 2: Installing Python
Download Python Latest Version
- Make sure to check 'Add Python to Path' in the setup window of the Installer.
Verify the installation from the Terminal using the following command,
python --version
Step 5: Cloning Repository using Git
git clone https://github.com/'<your-github-username>'/classDeck.git
Step 6: Change directory to classDeck
cd classDeck
Step 7: Add reference to the original repository
git remote add upstream https://github.com/coding-geek21/classDeck.git
Step 8: Creating Virtual Environment
Install virtualenv
pip install virtualenv
Creating Virtual Environment named env
virtualenv env
To Activate env
source env/Scripts/activate
or
./env/Scripts/activate
To deactivate env
deactivate
Step 9: Installing Requirements
Note: Before installing requirements, Make sure the virtual environment is activated.
cd classDeck
pip install -r requirements.txt
Step 10: Making database migrations
Note: Before making database migrations, make sure you've successfully created database.
python manage.py makemigrations
python manage.py migrate
Step 11: Creating superuser to access Admin Panel
python manage.py createsuperuser
Step 12: Running the Project in local server
Note: Before running the project in local server, Make sure you activate the Virtual Environment.
python manage.py runserver
Server will be up and running in local host on PORT 8000