Giter Site home page Giter Site logo

askme-backbone's Introduction

On OpenShift

Building frontend using STI grunt-nginx image

oc new-build sti-grunt-nginx~https://github.com/clerixmaxime/askme-backbone.git

Launching the application on OpenShift

oc new-app askme-backbone 

Expose publicly

oc expose svc askme-backbone

Changes for OpenShift

  • nginx.conf, root changed to /usr/share/nginx/html/ in order to match with the STI-grunt-nginx image configuration.
  • nginx.conf, dashboard has been removed

Presenter Feedback demo app

This application is used as part of the Lean Engineering demo. This is just a frontend part of the app and in order to run it successfully you will need to get the backend part as well.

The app is deployed askme.accenture.com with integration to Accenture's federated single sign on where it gets the information about the user submitting questions.

Frontend code is stored here

Backend code is stored here

Proxy setup is stored here

Note: proxy requires https with shibboleth running (not possible to run locally)

To get the frontend path up and running you will need:

  • nodejs (version 4.2 is recommended, should be running on older ones without a problem)
  • npm (2.14 was used the last time feature were added)

The workflow / compilation is standard AOWP stuff:

  • npm install
  • bower install
  • grunt build/serve

Note: The app uses http and websockets to communicate to backend.

To run the BDD/acceptance tests you will need:

  • phantomjs with webdriver running on port 4444 (phantomjs --webdriver=4444)
  • an instance of the frontend part running in the background locally (grunt serve)
  • an instance of the backend part (with db of course) running locally (node index.js in the backend part folder)
  • grunt acceptance should connect to the app via the phantomjs and the bdd tests

To run unit tests:

  • grunt test

To run static code analysis:

  • grunt jshint

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.