Skip to content

alllexxx1/task-manager

Repository files navigation

Hexlet tests and linter status:

Actions Status Actions Status
Maintainability Test Coverage


Task manager Task manager

Run the project both locally and on a production server

$ git clone git@github.com:alllexxx1/python-project-52.git
$ cd python-project-52
$ make install

# at this point create a '.env' file and set up
# configuration variables (example below)

$ make migrate
$ make dev # start the app locally
$ make start # command to launch the app on a production server

# for more useful shortcut commands check out the Makefile

.env file example

SECRET_KEY=any_reliable_set_of_characters
DATABASE_URL=postgres://youruser:yourpassword@localhost:5432/yourdatabase
DEBUG=True # /False
ROLLBAR_ACCESS_TOKEN=token_provided_by_roolbar.com

Useful commands for development

$ make run-test
$ make coverage
$ make shell

Links

This project was built using these tools:

Tool Description
django "High-level Python web framework that encourages rapid development and clean, pragmatic design"
gunicorn " ‘Green Unicorn’ is a Python WSGI HTTP Server for UNIX"
poetry "Python dependency management and packaging made easy"
flake8 "Your tool for style guide enforcement"
django-bootstrap "Django-bootstrap provides template tags and tools for easily incorporating Bootstrap's styles and components into Django templates"
django-bootstrap-icons "A quick way to add Bootstrap Icons with Django template tags"
django-filters "Generic, reusable application to alleviate writing some of the more mundane bits of view code"
dj-database-url "This simple Django utility allows you to utilize the 12factor inspired DATABASE_URL environment variable to configure your Django application"
psycopg2-binary "PostgreSQL database adapter for the Python programming language"
python-dotenv "A library that helps load configuration from a .env"