Skip to content

Django-based asset management system with Moneybird accounting integration

Notifications You must be signed in to change notification settings

JobDoesburg/landolfio

Repository files navigation

Landolfio

Lint and test Build and push

Getting Started

To get started, follow these steps:

  1. Install Python 3.9+ and poetry.
  2. Clone this repository.
  3. Run poetry install to install all dependencies into the virtual environment.
  4. Run poetry run pre-commit install to install the pre-commit hooks.
  5. Run poetry shell to enter the virtual environment.
  6. Run cd website to navigate to the folder containing manage.py.
  7. Run export DJANGO_SETTINGS_MODULE=website.settings.development to use the development settings.
  8. Run python ./manage.py migrate to initialize the database.
  9. If you want to add the mock assets, run python ./manage.py loaddata assets.
  10. Run python ./manage.py runserver to start the local testing server.

Testing

To test Landolfio, follow these steps:

  1. Run poetry shell to enter the virtual environment.
  2. Run cd website to navigate to the folder containing manage.py.
  3. Run python ./manage.py test --settings=website.settings.development