Skip to content
/ ibms Public
forked from dbca-wa/ibms

Integrated Business Management System corporate application

License

Notifications You must be signed in to change notification settings

ropable/ibms

 
 

Repository files navigation

Integrated Business Management System

This project consists of the Integrated Business Management System (IBMS) corporate application, used by the Department of Biodiversity, Conservation and Attractions.

Installation

The recommended way to set up this project for development is using Poetry to install and manage a virtual Python environment. With Poetry installed, change into the project directory and run:

poetry install

Activate the virtualenv like so:

poetry shell

To run Python commands in the activated virtualenv, thereafter run them like so:

python manage.py

Manage new or updating project dependencies with Poetry also, like so:

poetry add newpackage==1.0

Environment variables

This project uses environment variables (in a .env file) to define application settings. Required settings are as follows:

DATABASE_URL="postgis://USER:PASSWORD@HOST:PORT/DATABASE_NAME"
SECRET_KEY="ThisIsASecretKey"

Running

Use runserver to run a local copy of the application:

python manage.py runserver 0:8080

Run console commands manually:

python manage.py shell_plus

Docker image

To build a new Docker image from the Dockerfile:

docker image build -t ghcr.io/dbca-wa/ibms .

Pre-commit hooks

This project includes the following pre-commit hooks:

Pre-commit hooks may have additional system dependencies to run. Optionally install pre-commit hooks locally like so:

poetry run pre-commit install

Reference: https://pre-commit.com/

About

Integrated Business Management System corporate application

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 87.5%
  • HTML 12.1%
  • Other 0.4%