Skip to content

Nik-Khandelwal/regsoft

Repository files navigation

BOSM Regsoft

This is the repository for the registration software used in the BITS Open Sports Meet (BOSM), The Annual Sport's Festival of BITS Pilani, Pilani Campus. Website: http://bits-bosm.org/

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Python3
  • pip & virtualenv
  • Django 1.11+
  • Redis-Server

Installing

  1. For Installing Python3 and Setting up pip, virtualenv & Django:
  1. For Installing Redis-Server:
  1. Clone the project locally from GitHub by running the following and cd into regsoft directory:
git clone https://github.com/Nik-Khandelwal/regsoft.git
cd regsoft
  1. Create a virtual environment with Python3 and install the dependencies (commands slightly vary in Windows).
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
  1. Run Django migrations to migrate the models.
python manage.py makemigrations
python manage.py migrate
  1. Collect the static files into /static directory using the folowing command. Type 'yes' to continue.
python manage.py collectstatic
  1. Create a Superuser to generate Django Admin Panel login credentials.
python manage.py createsuperuser
  1. Start the server.
python manage.py runserver
  1. Modify all email addresses to avoid sending out emails during testing
python manage.py shell < modify_emails.py
Note: If you get a server error at 127.0.0.1:8000 but are having no issues when starting the server then check if the Redis server is working or not.

About

This is the repository for the registration software used in the BITS Open Sports Meet (BOSM), The Annual Sport's Festival of BITS Pilani, Pilani Campus.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published