Skip to content

dipeshs809/SNTC-Calendar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GYMKHANA Calendar

Installing and running

Clone the repository

Add ALLOWED_HOSTS in mycalendar/settings.py for deployment

Install virtual environment

Install pip first

sudo apt-get install python3-pip

Then install virtualenv using pip3

pip3 install virtualenv 

Now create a virtual environment

virtualenv venv 

you can use any name insted of venv

Active your virtual environment:

source venv/bin/activate

Run the following commands in project directory.

You might need to delete db.sqlite3 to start afresh.

pip install -r requirements.txt
python manange.py makemigrations
python manage.py migrate --run-syncdb
python manage.py collectstatic
python manage.py createsuperuser
python manage.py runserver

Go to http:localhost:8000/admin and sign in as superuser.

Add Google OAuth2.0 API Key's credentials in admin Social Applications.

For running the web-app on the server as a background process, use nohup.

nohup python manage.py runserver &  

This will output a PID, which can be later used to kill the process.

About

Event Calendar for IIT Mandi's Gymkhana

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 58.8%
  • HTML 28.8%
  • CSS 12.4%