Skip to main content

No project description provided

Project description

huscy.projects

PyPi Version PyPi Status PyPI Downloads PyPI License Python Versions Django Versions Coverage Status

Requirements

  • Python 3.6+
  • A supported version of Django

Tox tests on Django versions 2.2 and 3.0.

Installation

To install husy.projects simply run:

pip install huscy.projects

Configuration

We need to hook huscy.projects into our project.

  1. Add huscy.projects into your INSTALLED_APPS at settings module:
INSTALLED_APPS = (
	...
	'django_filters',
	'rest_framework',

	'huscy.projects',
)
  1. Create huscy.projects 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 migration files and database tables:

make makemigrations
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 psql -c "GRANT ALL PRIVILEGES ON DATABASE huscy TO huscy;"
sudo -u postgres psql -c "ALTER USER huscy WITH PASSWORD '123';"
sudo -u postgres createdb huscy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

huscy.projects-0.1.0a6.tar.gz (19.6 kB view hashes)

Uploaded Source

Built Distribution

huscy.projects-0.1.0a6-py3-none-any.whl (57.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page