adsk2050 / iitg_mechanical_website

IIT Guwahati Mechanical Department website

Home Page:https://www.iitg.ac.in/mech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(For development)How to run it on your system:

  • sudo apt update -y;
  • sudo apt install virtualenv python3-virtualenv;
  • cd ~;
  • git init;
  • git clone https://github.com/adsk2050/iitg_mechanical_website.git;
  • git checkout -b <your_new_branch_name>;
  • cd iitg_mechanical_website;
  • virtualenv --python=/usr/bin/python3 venv; *Here you can use your version of python instead of /usr/bin/python. For example if you installed anaconda3, use: ~/anaconda3/bin/python
  • source ~/iitg_mechanical_website/venv/bin/activate;
  • pip install -r requirements.txt;
  • python manage.py collectstatic;
  • python manage.py runsslserver;

If you are an IITG student, you get $100 credit on Microsoft Azure. Log in to Microsoft Azure, claim your benefits and get going with the project. In case you use Azure VM, be sure to create an inbound rule in neworking section of the VM to allow port 8080 and instead of running python manage.py runsslserver, run python manage.py runsslserver 0:8080. Then you will be able to access the website on :8080.

I would love to see a student from IITG take up this project from my hands and take it forward. Others are also welcome.

I would strongly advise to use Sublime merge to manage version control. It is very intuitive and doesn't have a steep learning curve like git bash.

About

IIT Guwahati Mechanical Department website

https://www.iitg.ac.in/mech


Languages

Language:Python 70.2%Language:HTML 14.2%Language:Rich Text Format 9.5%Language:JavaScript 3.6%Language:CSS 2.3%Language:Dockerfile 0.0%Language:Shell 0.0%