Skip to content

adsk2050/iitg_mechanical_website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f782010 · Oct 4, 2021
May 17, 2021
Aug 8, 2021
Jan 24, 2021
Oct 4, 2021
Oct 4, 2021
Oct 4, 2021
Jan 16, 2021
Jun 4, 2019
Jul 30, 2021
Jan 26, 2019
Oct 4, 2020
Oct 12, 2020
Dec 8, 2019
Oct 4, 2021
Mar 3, 2021
Jun 21, 2021

Repository files navigation

(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.