Skip to content
Sharun E Rajeev edited this page Jun 23, 2022 · 1 revision

Developer Guide

The whole project is tailored using Django. Strong knowledge of python and Django is necessary to start with the project.

Requirements

  1. Suitable IDE (preferably VSCode or PyCharm)
  2. Python
  3. Git

Setting up process

  1. 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
  1. Create a virtual environment using this command in a terminal.
python -m venv venv
  1. Activate the virtual environment using this command in a terminal.
source venv/bin/activate
  1. Install the requirements using this command in a terminal.
pip install -r requirements.txt
  1. Install PostgreSQL locally for development. Go to PostgreSQL and download the latest version of the database.
  2. Create a database and add all the required details like username, password, host, port into a .env file in the root directory.
  3. Run the migrations using this command in a terminal.
python manage.py migrate
  1. Run the server using this command in a terminal.
python manage.py runserver
  1. Open the browser and navigate to http://localhost:8000/admin/ to log in to the admin panel.
  2. Open the browser and navigate to http://localhost:8000/user to view the user URLs.
  3. Open the browser and navigate to http://localhost:8000/admin/ to view the admin URLs.

Clone this wiki locally