Skip to content

A backend application to manage a small private tutoring business.

License

Notifications You must be signed in to change notification settings

nmandiveyi/tutor-companion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


mail package manager logo

Tutor's Companion


Python Django Static Badge

Table of contents

Description

A backend application to manage a small private tutoring business.

Requirements

  • Python 3.9.6
  • Django 4.2.5
  • Django REST Framework 3.14.0

Installation

Once you've cloned the repository, your next step is to establish a virtual environment to ensure a pristine Python installation. This can be achieved by executing the following command:

$ python -m venv env

After this, it becomes essential to activate the virtual environment. For additional details on this step, you can find more information here:

To install all the necessary dependencies, execute the command:

$ pip install -r requirements.txt

Environment variables

Create a .env file with the following in the root

# server mode
$ DEBUG=<DEBUG>

# app secret
$ SECRET_KEY=<SECRET_KEY>

# database name
$ DATABASE_NAME=<DATABASE_NAME>

# database host
$ DATABASE_HOST=<DATABASE_HOST>

# database user
$ DATABASE_USER=<DATABASE_USER>

# database user password
$ DATABASE_PASSWORD=<DATABASE_PASSWORD>

# database port
$ DATABASE_PORT=<DATABASE_PORT>

Running the app

To start up the Django's development server, navigate to the root of the project and run the command:

$ python manage.py runserver

About

A backend application to manage a small private tutoring business.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages