Skip to content

B3rnt/safetymapsDBK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Registrations

Openhub

Build status

Circle CI David

About

Helping first responders during incidents.

Uses:

Node.js, Express, Postgresql/Postgis, Jade, Fontawesome, jQuery, OpenLayers, moment.js and Bootstrap.

Requirements

Windows specifics

Installation

From a console or terminal:

git clone [email protected]:dogodigi/opendispatcher.git
cd opendispatcher
npm install .

Note: Check that npm install . doesn't generate errors. The installation process will tell you what components are missing (f.i. postgresql)

Create a file called config.json.

Note: you can copy config.default.json to config.json to get hints on the required variables.

Run the tests

npm test

Run the Application

To start the applicatie in "development mode":

npm start

To start the application in "production mode":

export NODE_ENV=production && npm start

Or, using forever:

NODE_ENV=production /usr/bin/forever start -c "npm start" /path/to/opendispatcher/

Point your browser to http://localhost:3000 to check if the application is running.

Generate Source Documentation

npm run doc

Generate Static Application

npm run mobile
npm run desktop

Will generate subfolders in the directory build containing pure filebased representation of the application for offline use or use on a static webserver.

Packages

No packages published

Languages

  • JavaScript 81.5%
  • CSS 6.7%
  • SQLPL 4.3%
  • HTML 2.2%
  • PLSQL 2.0%
  • XSLT 1.7%
  • Other 1.6%