This website is a project for completing a bachelor's degree at Bu-Ali Sina University of Hamedaan.
- Python 3.12
- Django 5
Clone the repository on your computer :
git clone http://github.com/mehrnaz-jiryaie/VarzeshYar-Website.gitIf you already have other versions of Python and Django installed on your computer, creating a virtual environment is recommended, then installing the requirements to avoid version conflicts.
Create a virtual environment :
python -m venv your-virtual-env-nameActivate your virtual environment :
(for Linux)
source your-virtual-env-name/bin/activate(for windows)
your-virtual-env-name\Scripts\activateThis project has a requirements.txt file that includes all Django packages required to run the code. These can be installed with the command :
pip install -r requirements.txtRun the database migrations :
python manage.py migrateRun the Django development server with the command:
python manage.py runserverwhen you run this command, it listens to the port number '8000' by default, if this doesn't work try another port number like '8001' like this :
python manage.py runserver 8001Last but not least, open your browser and then follow the http://127.0.0.1:8000 URL.
