UCPC-official-website is the official registration website for UCPC 2023 - the twelfth season of the UIT Collegiate Programming Contest. Built with Django, it enables contestants to register and participate in the contest, and organizers to manage the evenot and publish results. This repositry contains all code and resources needed to run the website
- HTML, CSS and Javascript
- Python Django Framework
Hit 🌟 to show some ❤️
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Step 1: Installing Python 3.10
Download Python 3.10 or higher
sudo pacman -S python3 # If you're using an Arch-based Distro
Verify the installation from the command prompt (Terminal) using the following command,
python --version
Installed version of python will be printed.
Step 2: Installing Git
sudo pacman -S git
Step 3: Clone the Repository
git clone https://github.com/Dev-Aligator/UCPC-official-website.git
Step 4: Creating Virtual Environment
Install virtualenv
pip3 install virtualenv
Creating Virtual Environment named myvenv
virtualenv myvenv -p python3.10
To Activate myvenv
myvenv\Scripts\activate
To deactivate myvenv
deactivate
Step 5: Installing Requirements
Note: Before installing requirements, Make sure Virtual Environment is activated.
pip install -r requirements.txt
Step 6: Making database migrations
python manage.py makemigrations
python manage.py migrate
Step 7: Creating superuser to access Admin Panel
python manage.py createsuperuser
Step 8: Running the Project in local server
Note: Before running the project in local server, Make sure you activate the Virtual Environment.
python manage.py runserver
Dev-Aligator