A web application that generates random build success / failure reactions from imgur. Just an experimental angular app.
Built using the Yeoman angular-fullstack generator.
The following tools were used to develop and run this application:
- Node.js + npm: Server and Package Manager
- Yeoman: Scaffolding
- Grunt: Task Automation
- Bower: JS Dependency Management
- AngularJS: Front-end Web Application Framework
-
Install the required Javascript dependencies to your local environment:
bower install
-
Install the required Node.js dependencies to your local environment:
node install
-
Open up
app/scripts/app.js
and fill in the following values:.constant('SUCCESS_ALBUM_ID', { albumId: '[[INSERT IMGUR SUCCESS ALBUM ID HERE]]', ... .constant('FAILURE_ALBUM_ID', albumId: '[[INSERT IMGURE FAILURE ALBUM ID HERE]]', ... .constant('INITIAL_BOT_NAME', '[[INSERT GENERATED BOT NAME HERE]]') .constant('IMGUR_CLIENT_ID', '[[INSERT YOUR OWN IMGUR API CLIENT ID HERE]]')
(Note that an imgur album ID is the suffix of the album's URL. For example, the album at http://imgur.com/a/JIARx has an ID of
JIARx
.) -
Start the server locally:
grunt serve
- Build the project for distribution:
grunt build
(Alternatively, if you wish to validate the distribution build first by running it locally, rungrunt serve:dist
) - Follow the instructions provided in the angular-fullstack documentation for deployment to either OpenShift or Heroku.
Tests forthcoming...