Skip to main content

ephios is a tool to manage shifts for medical services.

Project description

ephios Coverage Status

ephios

ephios is a tool to manage shifts for medical services.

Development setup

To set up a development version on your local machine, you need to execute the following steps:

  1. Check out repository and cd to it
  2. Set up a virtualenv for the project with Python >=3.8 and activate it
  3. Install poetry (if not already installed): curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
  4. Install dependencies with poetry install
  5. Create env file with cp .env.example .env
  6. Migrate the database with python manage.py migrate
  7. Compile translations with python manage.py compilemessages and python manage.py compilejsi18n
  8. Load data for testing with python manage.py setupdata debug
  9. Start the development server with python manage.py runserver
  10. Open your web browser, visit http://localhost:8000 and log in with the default credentials (user admin@localhost and password admin)

Tests

Test the code with pytest.

Code style

We recommend installing a pre-commit hook with pre-commit install. That will (look at .pre-commit-config.yaml) before every commit

  • run autoflake with a couple of flags to remove unused imports,
  • run isort . to sort imports,
  • run black . to format the code. You can also check out the IDE integration

If you want to do that manually, run pre-commit run --all-files. Next to that, we also run pylint ephios to check for semantic issues in the code.

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

ephios-0.2.0.tar.gz (2.2 MB view hashes)

Uploaded Source

Built Distribution

ephios-0.2.0-py3-none-any.whl (2.3 MB 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