This application is CodePoets home page.
- Python >= 3.7.6
- Django >= 2.2.8
- npm >= 6.7.0
- PostgreSQL >= 10
-
Install
node_modules. In project directory:$ npm install -
Install poetry on your machine:
osx / linux / bashonwindows :
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
Create new virtual environment for project with all development packages.
$ poetry install -
Activate newly created virtualenv:
$ poetry shell -
Create local settings in
project_liberation/settings/local_settings.py.from .development import *
For more details please see description in
project_liberation/settings/__init__ -
Create database for application:
$ createdb -U postgres project_liberation
You can run automated tests and code analysis with:
$ ./full_check.sh
For details please see full_check.py file.