#Freedomotic Polymer Webapp
##Intro This is a simple frontend web application that interacts with a Freedomotic 5.6.0 instance via its REST API V3.
You can access a live preview at:
- Login Params
Address:
a) api.freedomotic.com
b) fritz.bestmazzo.it
User | Pass |
---|---|
guest |
guest |
admin |
admin |
- In login panel, insert following params:
Address: (see above)
Username: (see above)
password: (see above)
SSL: disabled
remember me: whatever
- Enjoy! :)
============================= PS: Safari and Chrome cache pages. To test the latest deployed version be sure to clear the cache data before doing above steps.
##Development
####Developing steps (working on the webapp alone)
- Ensure you have nodejs and npm installed
- Install bower and grunt : e.g.
npm install -g bower grunt-cli
- Git-clone this repo
- Enter project directory
- Run
npm install
to install backend modules - Run
bower install
to install frontend modules - Run
grunt serve
to start a webserver in order to test your work - Start editing!!
####Developing steps (working on webapp with capability to modify dependency modules)
- Read http://git-scm.com/book/en/v2/Git-Tools-Submodules and http://bower.io/docs/api/#link
- Execute steps 1~6 above
- Run
git submodule init
to init submodules (dependencies' repos) - Run
git submodule update
to fetch repos data - Prepare bower development environment for dependencies (this may take a while):
cd fd-deps; bash ./do-link.sh
- Execute steps 7~8 above
#####Saving changes on webapp or submodules code