Skip to content

Code-Poets/project-liberation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

project-liberation

This application is CodePoets home page.

Software requirements

  • Python >= 3.7.6
  • Django >= 2.2.8
  • npm >= 6.7.0
  • PostgreSQL >= 10

Development setup

Preparing your environment for development

  1. Install node_modules. In project directory:

    $ npm install
    
  2. Install poetry on your machine:

    osx / linux / bashonwindows :

    $ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
  3. Create new virtual environment for project with all development packages.

    $ poetry install
    
  4. Activate newly created virtualenv:

    $ poetry shell
    
  5. Create local settings in project_liberation/settings/local_settings.py.

    from .development import *

    For more details please see description in project_liberation/settings/__init__

  6. Create database for application:

    $ createdb -U postgres project_liberation
    

Running tests and code analysis

You can run automated tests and code analysis with:

$ ./full_check.sh

For details please see full_check.py file.