-
Clone the repository
-
Make sure pip and python are installed in the system
-
Type the following commands one by one in the command prompt or terminal having the project folder as the current working directory (cwd)
- pip install -r requirements.txt (To install all dependencies of the project)
- python manage.py makemigrations (To create tables for all the models)
- python manage.py migrate (To migrate the tables to the database)
- python population_script.py (To populate the tables with some dummy)
- python manage.py createsuperuser (To create a superuser that can access the database directly) (Remember the email and password for later usage)
- python manage.py runserver (To get the server up and running)
-
Open any web browser and type the following url: http://localhost:8000 (To get to login page) http://localhost:8000/db (To get access to database after typing the credentials for superuser)
-
To dump the database at any point of time, just run the following command: python flush_db.py
-
Notifications
You must be signed in to change notification settings - Fork 0
raghavloya10/SchoolManagement
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published