Support application
Internal application used to administer specific support tasks related to the Topcoder platform.
- node.js v6+
- npm v3+
- Google Chrome browser version >= 55.0.2883.0
To install npm and bower dependencies run:
npm install
Bower is set to run as a npm postinstall script.
The configuration is provided in config.json
in the base directory.
It contains four environments (local
, dev
, qa
, prod
) which are controlled by the BUILD_ENV environment variable,
it defaults to the dev
environment if BUILD_ENV is empty.
The following configuration parameters are available:
Name | Description |
---|---|
ES_PROJECT_API_URL | URL of the ES project API |
API_URL | URL of the topcoder API |
WORK_API_URL | URL of the topcoder work API |
ADMIN_TOOL_URL | URL of the admin tool API |
API_VERSION_PATH | Version of the API |
AUTH0_CLIENT_ID | Client ID for Auth0 |
AUTH0_DOMAIN | Domain for Auth0 authentication |
AUTH0_TOKEN_NAME | Auth0 token name |
AUTH0_REFRESH_TOKEN_NAME | Auth0 refresh token name |
Simply execute the following command to start the app in development mode (with browsersync)
npm install
npm start
Application will be hosted and running at http://locahost:3000
To build the application to be hosted on a real webserver run:
npm run build
npm test
npm install -g [email protected] bower
npm install
bower install
gulp serve
gulp build
gulp protractor