Skip to content
This repository has been archived by the owner on Jun 17, 2018. It is now read-only.

Latest commit

 

History

History
52 lines (37 loc) · 1.97 KB

README.md

File metadata and controls

52 lines (37 loc) · 1.97 KB

build-reaction-factory

A web application that generates random build success / failure reactions from imgur. Just an experimental angular app.

Built using the Yeoman angular-fullstack generator.

Requirements

The following tools were used to develop and run this application:

Build Instructions

  1. Install the required Javascript dependencies to your local environment: bower install

  2. Install the required Node.js dependencies to your local environment: node install

  3. 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.)

  4. Start the server locally: grunt serve

Deployment Instructions

  1. Build the project for distribution: grunt build (Alternatively, if you wish to validate the distribution build first by running it locally, run grunt serve:dist)
  2. Follow the instructions provided in the angular-fullstack documentation for deployment to either OpenShift or Heroku.

Test Instructions

Tests forthcoming...