Skip to content

MicrosoftStudentChapter/MSC-Official-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSC-Official-Website

Main website of Msc

For requirement check requirement.txt

Use Git Bash For Windows to run all the commands

To Run Django server

-First activate the virtual environment(venv)
   . venv/bin/activate or source venv/bin/activate
-To activate the virtual env in Windows
   As venv is made in Ubuntu/MAC to activate it in Windows we will be using Git Bash.
   Go in the directory venv
    source ./bin/activate
-Change dir to MSC_website
   cd MSC_website
-Runserver
   python manage.py runserver

while running

python manage.py makemigrations
python manage.py migrate
python manage.py runserver


to create a superuser - python manage.py createsuperuser
to create project -   django-admin startproject project_name
to run local server-   python manage.py runserver
to create app -  python manage.py startapp app_name
to migrate - python manage.py migrate
to load static - python manage.py collectstatic


To deactivate virtual environment

   deactivate