Git Product home page Git Product logo

alumni-portal-iith's Introduction

IITH Alumni portal

This project will host code for the IITH Alumni portal.

Installation

Install pip and then install system-wide virtualenv PIP package.

sudo apt-get install python-pip
sudo pip install virtualenv

Create a virtual environment for our current alumni-portal project in a folder named .venv, and "activate" it, so that all our subsequent PIP packages are installed in this virtual environment only, and not globally. Note that you don't require sudo access any more to install PIP packages in this local virtual environment.

cd alumni-portal
virtualenv .venv
source .venv/bin/activate

Install the dependencies using:

pip install -r requirements.txt

Note: Above command installs Django also.

Running the Django app

Create SQLite database, which is just a file db.sqlite3 being used as database for this app.

python manage.py migrate

And then run the Django app

python manage.py runserver

Now you can go to your browser and type http://127.0.0.1:8000/ and you can see the Django app in action!

Run google auth

Google auth needs a google application to be created. The url has been given as 'iith-alumni.com' which has to be used to run the application, Edit the etc hosts in your system

sudo vi /etc/hosts

and add the following line

127.0.0.1       iith-alumni.com

Insert data required for registration

The standard Departments and Degrees can added to the database by running the following command

python manage.py shell < portalapp/dml.py

How to contribute

GitHub Issues will be used to track all the new features to be developed, and also for bugs. If you want to contribute then fork the repo to your own github account and create a branch with your changes and then create a pull request. People who have push access to the repo, please don't push code directly to the repo. Follow the above procedure. It helps to have someone else look into your changes.

alumni-portal-iith's People

Contributors

chirag200666 avatar rushiagr avatar ajayaa avatar g8xsu 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.