Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

LocalData/localdata-mobile-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

595 Commits

Repository files navigation

We make it easy for cities, nonprofits, neighborhood organizations and others to collect good information about the things they care about, like property condition, vacancy, points of interest, and more. Read more at localdata.com

This mobile data collection app is part of the greater LocalData toolkit.

Running the app

The app is static HTML pages + javascript. It does assume that it's being served by the same host as the LocalData API

Building/deploying

We use Grunt to prepare the app for deployment. Run grunt or grunt build to build the minified, deployable package. You can configure locations in a dev-settings.json file, after which grunt deploy or grunt deploy:mylocation will sync the built package to an S3 location. Deployment requires s3cmd

Sample dev-settings.json:

{
 "deploy" : {
 "default" : "s3://mybucket/web/my-mobile-dev/",
 "dev" : "s3://mybucket/web/my-mobile-dev/",
 "production" : "s3://mybucket/production-web/mobile"
 }
}

Nightwatch tests

We use Nightwatch.js with Selenium for automated browser testing.

Setup

Run npm install to install dependencies, including Nightwatch.

Download and copy the most recent Selenium jar to test/selenium-server-standalone.jar.

Running

You'll need the LocalData server running on port 3443 with a survey named "test" available.

From the tests directory, run ./nightwatch to run the tests.

About

LocalData mobile collection app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /