huscy.project-ethics 2.0.1

Creator: codyrutscher

Last updated:

Add to Cart

Description:

huscy.projectethics 2.0.1

huscy.project-ethics






Requirements

Python 3.8+
A supported version of Django

Tox tests on Django version 4.2 and 5.0.
Installation
To install husy.project-ethics simply run:
pip install huscy.project-ethics

Configuration
First of all, the huscy.project_ethics application has to be hooked into the project.

Add huscy.project_ethics and further required apps to INSTALLED_APPS in settings module:

INSTALLED_APPS = (
...
'guardian',
'rest_framework',

'huscy.project_ethics',
'huscy.projects',
)


Create huscy.project-ethics database tables by running:

python manage.py migrate

Development
After checking out the repository you should activate any virtual environment.
Install all development and test dependencies:
make install

Create database tables:
make migrate

We assume you're having a running postgres database with a user huscy and a database also called huscy.
You can easily create them by running
sudo -u postgres createuser -d huscy
sudo -u postgres createdb huscy
sudo -u postgres psql -c "ALTER DATABASE huscy OWNER TO huscy;"
sudo -u postgres psql -c "ALTER USER huscy WITH PASSWORD '123';"

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.