Skip to content

rahulrangers/Varchas_22

 
 

Repository files navigation

Varchas Status active Django 3.0.0 Python 3.7.1 Python Package CI

Main web portal for the annual sports fest of IIT Jodhpur Varchas.

Installation:

Requirements:

  • Python 3.7.1 runtime
  • Django 3.0.0
  • Other dependencies in requirements.txt

Procedure:

  • Install python in your environment(pre-installed on Ubuntu).

  • Navigate to the cloned repository.

    cd <project_directory_name>     # varchas_iitj
    
  • Install pipenv for dependency management

    pip install pipenv
    
  • Use pip to install other dependencies from requirements.txt

    pip install -r requirements.txt
    
  • Optionally activate virtual environment, if you don't want to activate env, use pipenv run to run python scripts

    source "$(pipenv --venv)"/bin/activate
    
  • Make database migrations

    python manage.py makemigrations
    python manage.py migrate
    

    NOTE: If its your first time migrating, you may need to manually add migration module in each app.

    python manage.py makemigrations main
    python manage.py makemigrations accounts
    python manage.py makemigrations adminportal
    python manage.py makemigrations events
    python manage.py makemigrations registration
    python manage.py makemigrations sponsors
    python manage.py migrate
    
  • Create a superuser

    python manage.py createsuperuser
    
  • Run development server on localhost

    python manage.py runserver
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 31.9%
  • HTML 23.4%
  • SCSS 12.5%
  • Less 12.4%
  • Python 10.1%
  • JavaScript 9.7%