/LitSoc_Website

Website of Literature Society IIT Jodhpur.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Literature Society Website

The Literature Society, IIT Jodhpur is a society of literary enthusiasts who like to engage in activities like poetry sessions, book reading sessions etc. People can view the poetries and other writings uploaded by the students of IITJ alongside the important announcements regarding the society activities. Furthermore, the students can issue books through the website.

Built With

Collaborators

Name Roll no. Role
Shubh Goyal B21CS073 Front-end
Sukriti Goyal B21CS075 Back-end

Frontend

  1. Make sure you have installed npm globally. It comes with node.js.
  2. Open the terminal and go to the project directory
  cd frontend
  1. Install dependencies
  npm i
  1. Start the server
  npm run dev
  1. The project should now be running locally!

Backend

  1. Make sure you have python3 installed on your system.
  2. Make a .env file in the backend folder
  3. Copy the contents of the .env.example file to the .env file

To check this

Run

  python --version
you should get like this python with a version
  Python 3.10.5
if you are not getting this then install python and add it to environment variables
  1. Install virtualenv in case you haven't
  pip install virtualenv 
  1. Activate the virtual environment
  virtualenv venv
  venv\scripts\activate
  1. Install the necessary python packages
  pip install -r requirements.txt 
  1. Go to the project directory
  cd backend
  1. Migrate the models
  python manage.py makemigrations
  python manage.py migrate
  1. Run the server
  python manage.py runserver 

License

MIT