ephios is a tool to manage shifts for medical services.
Project description
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:
- Check out repository and cd to it
- Set up a virtualenv for the project with Python >=3.8 and activate it
- Install poetry (if not already installed):
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
- Install dependencies with
poetry install
- Create env file with
cp .env.example .env
- Migrate the database with
python manage.py migrate
- Compile translations with
python manage.py compilemessages
andpython manage.py compilejsi18n
- Load data for testing with
python manage.py setupdata debug
- Start the development server with
python manage.py runserver
- Open your web browser, visit
http://localhost:8000
and log in with the default credentials (useradmin@localhost
and passwordadmin
)
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
Release history Release notifications | RSS feed
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)
Built Distribution
ephios-0.2.0-py3-none-any.whl
(2.3 MB
view hashes)