GithubHelp home page GithubHelp logo

code-ash-iit / sntc-calendar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kamandprompt/sntc-calendar

0.0 0.0 0.0 119 KB

Event Calendar for IIT Mandi's Gymkhana

Home Page: https://activities.iitmandi.co.in

Python 57.66% HTML 30.13% CSS 12.21%

sntc-calendar's Introduction

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.

sntc-calendar's People

Contributors

abhijeetmanhas avatar abhigyank avatar code-ash-iit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.