This project is a platform for placing orders for the work of students. The project is designed to explore the capabilities of the Django framework and acquire practical skills.
- Create a Python 3.7 virtualenv;
- Install dependencies:
$ pip install -r requirements.txt
- Create settings file (development.py, test.py and production.py) in settings module;
- Create tables:
$ python manage.py migrate
- Create superuser:
$ python manage.py createsuperuser
Create the development.py settings file with the following defined variables:
from .base import *
SECRET_KEY = <complex and long secret key>
EMAIL_HOST = <example 'smtp.gmail.com'>
EMAIL_HOST_USER = <your username>
EMAIL_HOST_PASSWORD = <your password>
DEFAULT_FROM_EMAIL = <your email>
To start the development server:
$ python3 manage.py runserver --settings=stasians_help.settings.development",
Create the test.py settings file with the following defined variables:
from .development import *
TEST_USERNAME = <admin username for tests>
TEST_PASSWORD = <admin password for tests>
To running all tests:
$ python3 manage.py test --settings=stasians_help.settings.test"
Create the development.py configuration file with the following declared variables:
from .base import *
SECRET_KEY = <complex and long secret key>
EMAIL_HOST = <example 'smtp.gmail.com'>
EMAIL_HOST_USER = <your username>
EMAIL_HOST_PASSWORD = <your password>
DEFAULT_FROM_EMAIL = <your email>
DEBUG = False
ALLOWED_HOSTS = ['<your host>']
- Python 3.7 - The programming language used;
- Django 2.1 - The web framework used;
- Bootstrap 4 - The front-end component library used.
This project is licensed under the MIT License - see the LICENSE file for details.
