Giter Site home page Giter Site logo

shibaken / bfrs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dbca-wa/bfrs

0.0 1.0 0.0 11.61 MB

Bushfire Reporting System

License: Apache License 2.0

Python 55.27% CSS 7.13% JavaScript 21.31% HTML 14.78% TeX 1.05% PLpgSQL 0.18% Dockerfile 0.13% Shell 0.15%

bfrs's Introduction

Bushfire Reporting System

This project consists of a redesign and reorganisation of the [Bushfire Reporting System] corporate application. corporate application.

Installation

Create a new virtualenv and install required libraries using pip:

pip install -r requirements.txt

Environment variables

This project uses confy to set environment variables (in a .env file). Minimum required settings are as follows:

DATABASE_URL="postgis://username:password@hostname/database"
SECRET_KEY="SecretKey"
USER_SSO="[email protected]"
PASS_SSO="password"
EMAIL_HOST="smtp.hostname"
FROM_EMAIL="[email protected]"
SMS_POSTFIX="sms.url.endpoint"

Running

Use runserver to run a local copy of the application:

python manage.py runserver 0.0.0.0:8080

Run console commands manually:

python manage.py shell_plus

Testing (TODO)

Run unit tests for the bfrs app as follows:

python manage.py test bfrs -k -v2

To run tests for e.g. models only:

python manage.py test bfrs.test_models -k -v2

To obtain coverage reports:

coverage run --source='.' manage.py test -k -v2
coverage report -m

bfrs's People

Contributors

rockychen-dpaw avatar dbca-asi avatar ropable avatar patrickmaslen avatar adonm avatar xzzy avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.