1 Star 0 Fork 1

chewenchao / landslides-post-wildfire-debris-flow

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

landslides-post-wildfire-debris-flow

Build Status

A web application that displays estimates for the probability and volume of debris flows that may be produced by a storm in a recently burned area.

Generating a new Project

  • Use git to clone landslides-post-wildfire-debris-flow from git repository

  • Install php

    $ brew install php56 --with-pdo-pgsql

Using the Generated Project

To begin working with the project

Getting Started

  • run npm install to install application development dependencies
  • configure the application
  • run grunt from the install directory

Configuration

  • run src/lib/pre-install to setup config.ini
  • configuration options are defined in src/lib/configure.inc.php
  • MOUNT_PATH is the base url for the application

CSS

  • SCSS files (*.scss, !_*.scss) in the src/htdocs/css directory are compiled.

  • Path is configured in gruntconfig/config.js:

    cssPath: [
      'src/htdocs/css',
      'node_modules/hazdev-webutils/src'
    ]

JS

  • JS files (*.js) in the src/htdocs/js directory are compiled.

  • Path is configured in gruntconfig/config.js:

    jsPath: {
      // DIRECTORY: EXPORT_PATTERN,
    
      # export all files in these directories in htdocs/js/bundle.js
      # for use in testing
      'src/htdocs/js': '*/*.js',
      'node_modules/hazdev-webutils/src': '**/*.js',
    
      # add to path, but don't export
      'node_modules/other-module/dist': null
    }

Deploying this application

This application is deployed via the landslides-website project.

Build the project, then copy the files to the landslides-website project (assuming they are checked out in parallel folders):

grunt builddist
cp -r dist/htdocs/{index.php,detail.php,css,images,js,README.md} ../landslides-website/src/htdocs/hazards/postfire_debrisflow/.

Comments ( 0 )

Sign in for post a comment

About

A web application that displays estimates for the probability and volume of debris flows that may be produced by a storm in a recently burned area spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
JavaScript
1
https://gitee.com/chewc/landslides-post-wildfire-debris-flow.git
git@gitee.com:chewc/landslides-post-wildfire-debris-flow.git
chewc
landslides-post-wildfire-debris-flow
landslides-post-wildfire-debris-flow
master

Search