-
Notifications
You must be signed in to change notification settings - Fork 7
Dev
Sharun E Rajeev edited this page Jun 23, 2022
·
1 revision
The whole project is tailored using Django. Strong knowledge of python and Django is necessary to start with the project.
- Suitable IDE (preferably VSCode or PyCharm)
- Python
- Git
- Clone the project to your local system using this command in a terminal with git installed in your system.
git clone https://github.com/sharunrajeev/studentManagementSystem.git
- Create a virtual environment using this command in a terminal.
python -m venv venv
- Activate the virtual environment using this command in a terminal.
source venv/bin/activate
- Install the requirements using this command in a terminal.
pip install -r requirements.txt
- Install PostgreSQL locally for development. Go to PostgreSQL and download the latest version of the database.
- Create a database and add all the required details like username, password, host, port into a .env file in the root directory.
- Run the migrations using this command in a terminal.
python manage.py migrate
- Run the server using this command in a terminal.
python manage.py runserver
- Open the browser and navigate to http://localhost:8000/admin/ to log in to the admin panel.
- Open the browser and navigate to http://localhost:8000/user to view the user URLs.
- Open the browser and navigate to http://localhost:8000/admin/ to view the admin URLs.