Webclient for anycook-api.
- Install node.js
brew install node
- Install bower & grunt-cli
npm install -g bower grunt-cli
You can test the whole anycook platform localy. To also test the API locally you need to checkout and run anycook-api. The instructions can be found here.
To start the anycook-page test environment follow these steps:
- Install dependencies
- Run
npm install
in the project folder to install project specific node dependencies. - Run
bower install
to install thirdparty JavaScript libraries. - Execute
grunt serve
to start the test server. Your browser should open the page automatically.
The Javascript API client supports json credential files. The credentials for the test environment are placed in the app folder. The credentials for the production environment in the projects root folder. Grunt replaces test with production when building dist folder.
To compile and minify the scripts run grunt
.