Smt Lakshmi and Shri Nandagopal Shenoy, Kannur live stream studio is a world-class studio at the World Konkani Centre, donated by Shri Nandagopal Shenoy in the name of his grandparents. The studio aims at instilling the value of the Konkani language and culture in the hearts of the people belonging to the Konkani Community throughout the world. The World Konkani Centre thrives at organizing sessions through this wonderful space and fulfilling the objective laid by the leaders of the community.
- Backend Framework: Django
- Front-end Framework: Bootstrap
Table of Contents
- Responsive Full-stack Booking system.
- Automated mail notifications on form submissions & on rejecting bookings.
- Master-Manager Admin hierarchies with different permissions.
- View filtered Upcoming events on View Schedule page.
- Filter bookings on a range (Year/Month/Week/Day).
- Export selected data as .csv
- View and Manage bookings by Rejecting booking.
- Avoid duplicate booking with a gap of 30 minutes between each event.
-
- Fork the repo
- Clone the repo to your local system
git clone https://github.com/nagarajpandith/live-stream-studio-booking.git cd live-stream-studio-booking
-
Create a Virtual Environment for the Project
- In Windows
python -m venv env env\Scripts\activate
- In Ubuntu/MacOS
python -m virtualenv env source env/bin/activate
If you are giving a different name than
env
, mention it in.gitignore
first -
Install all the requirements
pip install -r requirements.txt
-
Create .env file in the directory and enter the config parameters (without the quotes)
SK = 'Enter random character string' EADDRESS = 'Enter your email' EPASSWORD = 'Enter your email password'
-
Make migrations/ Create db.sqlite3
python manage.py makemigrations python manage.py migrate
-
Create a super user. This is to access Admin panel and admin specific pages.
python manage.py createsuperuser
Enter your username, email and password.
-
Run server
python manage.py runserver
Additional: For Master-Manager Admin hierarchy, Create a Django admin without superuser access.
-
If mailing causes SMTP Authentication errors, Enable Less secure apps on your google account. If still facing the error, Enable 2FA and generate App specific password. Enter the 16 digit password generated in 'EPASSWORD' of .env file.
-
To turn on Debugging, set
Debug = True
in project/settings.py.
-
Disable Debugging to view custom error pages.
Debug = False ALLOWED_HOSTS = ['your localhost url' or simply '*']
in project/settings.py.
-
Users created as Staffs without superuser access are only permitted to view upcoming events and book the studio. Users with superuser access are permitted to Export bookings, view admin panel, reject bookings and rest of the functionalities included with staff users.
-
Home Page
- Booking Form
- Admin Panel
- Manage Bookings Page
- View Schedule Page
- Example of an Automated mail
- 404 page to users on Admin-specific pages
Nagaraj Pandith | Kishor Balgi |