Run:
npm install
npm start
This will start up a local http server using the website
directory as the root context of the front end application. This local development server will also host the API, which is stored in index.js
and the lib
directory.
In OpenShift, the front end and back end are hosted as separate applications, using the templates in the templates
directory.
On redhat.com, only the front end of the application is hosted. For more information on deploying to this environment, see the Updating Infographic document. (This document is available only to users with an @redhat.com
email address.)
/index.html
: The public-facing infographic page. Clicking the "build" button takes the user to the Open Innovation Labs website./index.html?internal=true
: The "internal" version of infographic. Clicking the "build" button kicks off an Ansible Tower job./stack
: The node.js API that the front end hits when the user clicks the "build" button. This API passes the request on to Ansible Tower.[tool].png
- Full-color image, 300x106px, top-left-aligned. Shown on main page.[tool]-print.png
- Full-color image, 525x150px, centered. Shown on the printable "my technology stack" page if the tool is selected.[tool]-print-grey.png
- Grayscale image, 525x150px, centered, about 25% opacity. Shown on the printable "my technology stack" page if the tool is not selected.Some icons don't follow these conventions. When adding a new icon, prefer matching nearby icons over matching these conventions.
Configuration of the running application is accomplished using environment variables. The configuration options are listed below:
website
(Do not change unless you know what you are doing)