Skip to content

prStudentka/python-project-52

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability Test Coverage Django CI

Task Manager

website Task Manager

About

Task manager - service for organizing tasks between registered users. Registration and authentication are required to work with the system.

Main Image Image 1 - Main window app Task Manager

System requirements

  • python = "^3.10"
  • django = "4.1.3"
  • django-bootstrap5 = "^23.3"
  • python-dotenv = "^1.0.0"
  • psycopg2-binary = "^2.9.9"
  • django-filter = "^23.5"
  • rollbar = "0.16.3"
  • poetry = "^1.6.1"
  • postgreSQL = "^15.0"
  • dj-database-url = "^2.1.0"

Install

  1. Install poetry:
     pip install poetry
  1. Clone repository:
     git clone https://github.com/prStudentka/python-project-52.git
     cd python-project-52
  1. Install dependencies:
     make install
  1. Create file for enviromental variables:
    $ touch .env
  1. Create variables:

    • SECRET_KEY='{your secret key}'
    • DATABASE_URL='postgresql://{username}:{password}@{host}:{port}/{databasename}'
  2. Create a new PostgreSQL database:

     whoami
     {username}
     sudo -u postgres createuser --createdb {username} 
     createdb {databasename}
  1. Make migrations:
     make migrate
  1. To create an admin superuser:
      poetry run python manage.py createsuperuser
  1. Run the development server:
     make run1