This is a Django 2.0+ project with information about an educational institution, demonstrating mapping of URLs, their flow of requests and corresponding responses with Login and Registration portal. The project is deployed on PythonAnywhere so it is optimized for that but is not necessary.
- Django based Backend Structure which includes commands, static and media files, templates,etc.
- A basic log-in and registration functionality is available for project production environment.
- Frontend with HTML, CSS, Bootstrap
- Includes PyCharm project configuration.
- Primary repo is in GitHub
-
HTML, CSS, Bootstrap
-
MySQL v8.0 (recommended)
sqlite3 (Python built-in database )
-
Run below command to install dependencies
$ pip install -r requirements.txt
-
If you’re cloning the repo, you should have Git Bash installed on the system and then you can use following command :
$ git clone https://github.com/jtshukla24/BoSo.git
you can download it from Clone or Download button in repo.
-
Install Python and later using pip, use following command:
$ pip install django==2.0 (for specific version) $ pip install django (for latest version)
-
You can setup the project environment by setting up the project interpreter by navigating to the path where you have installed Python.
-
For setting up the database, you can change DATABASES variable in settings.py file in project directory.
-
Setup Database to either MySQL or sqlite3. For using MySQL, you need to setup a database named, newboso, in MySQL.
mysql> create database newboso; mysql> use newboso;
To see data in sqlite3, you can use DB Browser
-
After setting up the project, you can either run Run manage.py task from Tools menu
You can use following command in terminal:
C:/**Project Path**> python manage.py runserver
I love contributions, so please feel free to fix bugs, improve things, provide documentation. Just send a pull request.