Skip to content
express based manager module for phant
JavaScript CSS HTML
Branch: master
Clone or download
Pull request Compare This branch is 19 commits ahead, 2 commits behind sparkfun:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.bin
authentication
helpers
less
public
routes
test
views
.bowerrc
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
README.md
bower.json
index.js
package.json

README.md

phant-manager-http Build Status

express based manager module for phant -- hacked version by Modern Black Hand

Hacked version changes

Add simple signin control to restrict users.

Using phant-manager-http with phant

This section outlines how to quickly get this package up and running with the phant module.

Configure

  • open: https://data.sparkfun.com/config
  • under Add Manager select HTTP. This will add a new section below called Manager - HTTP
  • modify any other settings you desire. Likely this is OK as-is to get started
  • select Download Package. Avoid Publish to NPM unless you know what you are doing.
  • unpack the downloaded package

Install

  • go to the package you downloaded: cd phantconfig-custom.
  • do: npm install

Run

This example assumes you configured the module to use port 8080. If you have changed the HTTP port, replace 8080 with the port you chose.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

License

Copyright (c) 2014 SparkFun Electronics. Licensed under the GPL v3 license.

You can’t perform that action at this time.