Managing subjects in a human research context.
Project description
huscy.pseudonyms
Requirements
- Python 3.6+
- A supported version of Django
Tox tests on Django versions 2.1, 2.2, 3.0 and 3.1.
Installation
To install husy.pseudonyms
simply run:
pip install huscy.pseudonyms
Configuration
First of all, the huscy.pseudonyms
application has to be hooked into the project.
- Add
huscy.pseudonyms
and further required apps toINSTALLED_APPS
in settings module:
INSTALLED_APPS = (
...
'huscy.pseudonyms',
'huscy.subjects',
)
- Create 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 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';"
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.pseudonyms-1.0.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for huscy.pseudonyms-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6255b58c9ea90b409d3fd6a4d9065f54d1fea5bc34f1eb141732269221270a3a |
|
MD5 | e8622ae2465ea6329e65aae17c2e67be |
|
BLAKE2b-256 | 2e760b26d4d7606dfbb0c4dfe258c98839cc8c0e8cfce89b54b412977e2ae533 |