A simple version of the OVH Api Console.
Note: The environnement is based on the ngBoilerplate engine.
Before cloning the project, make sure to have: git, node.js, grunt-cli, and bower.
For this 2 last elements, once you have node.js installed, simply run:
npm install -g bower and npm install -g grunt-cli
You can now install dependancies:
npm install
bower installAnd finally add your API AK, AS, and Base Path into src/app/app.js:
OvhProvider.setAppKey('INSERT_AK_HERE');
OvhProvider.setAppSecret('INSERT_AS_HERE');
OvhProvider.setBaseUrl('INSERT_URL_HERE');
Simply launch: grunt watch.
Builded development files are generated into the build folder.
You can expose this folder with Apache or Nginx, but you can also simply launch grunt serve!
Just execute: grunt. It will create a dist folder with all production files.
Then, copy all the files in this folder to your production server!
Please send me pull requests!