README
portal.ONE client
The portal.ONE front end web application.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Prerequisites
- Node package manager (npm)
- Git
Installing
Git
Clone the repository
git clone git@gitlab.haj.lan:platform/portal/portal-one-client.git
Install dependencies
cd root_folder
npm install
Install licensed datatables editor
node node_modules/datatables.net-editor/install.js.\datatables\Editor-1.9.2.zip
Build code
npm run <environment>
The environment variable can be one from the list
- development - for local development
- shared - for the shared QA environment
- features - for branches under development
- production - for the production environment
Configurations
The configuration for the different target environments is stored in the ./configs folder. Each target environment has his own separate configuration file. Below are the parameters that can be configured:
- API_GW - the endpoint to the proxy service
- LOGIN_API - endpoint to the login page
- LOGOUT_API - endpoint to the logout page
- APP_LANG - default application languages
- APP_NAME - the name of the client application as defined in the user pool
- KIT_JS - library that handles the token
Deployment
Add additional notes about how to deploy this on a live system
Built With
- WebPack - Static module bundler for modern JavaScript applications
Authors
- Dan Toma