Skip to content

stl-florida/casestudy-riskmap

Repository files navigation

Flux.land risk maps

This repository holds the code for STL florida case-study related pages
This platform is built using the Aurelia framework, which has a few prerequisites. To get started, follow the machine & application setup steps.


Machine setup

  • Install NodeJS >= 4.x
  • Install NPM 3.x
    • Even though you may have the latest NodeJS, that doesn't mean you have the latest version of NPM. You can check your version with npm -v. If you need to update, run npm install npm -g.
  • Install Aurelia CLI
    • npm install aurelia-cli -g

Application setup

  • Install the project dependencies
    • npm install

Project structure

The project structure is as follows:

  • aurelia_project: Aurelia generated folder containing config (Check Configuration section for more details) and framework specific libraries
  • scripts: Generated scripts from the build process
  • src: The main application code with the following files and subfolders

To build

  • Start the development server
    • npm start This will start a dev server on http://localhost:9000
    • append /flood, /stormsurge or /groundwater to test respective layers
  • Commit & push changes in master branch
  • To generate a production build:
    • Switch to staging branch: git checkout gh-pages
    • Merge changes: git merge master
    • Run npm run-script stage to build scripts bundle
    • Upload the following to the deployment destination protecting the structure:
scripts/*
index.html
favicon.ico

Contribution guidelines

  • Issues are tracked on github.

About

This repository holds code for STL florida casestudy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages