Everyone project configuration Description:
Backstage
Application.yml files belonging to the project master configuration files in the configuration items
Application-dev.yml development environment configuration files
Application-prod.yml product distribution environment profiles
Application-test.yml test environment profile
project development process, which use configure the environment we need to be configured in application.yml is active, as shown below:
This rule value for the suffix yml file names such as: the production environment with a prod, test development environment with the dev, namely "application-" suffix
Reception
Path ~ / config / index.js file
host is running at the address, generally configured as local development environment "localhost" IP address or
port address for the operation of the port number
as shown below: Run distal address is: localhost: 8001
connect front background Configuring
path ~ / static / config / index.js document
window.SITE_CONFIG [ 'baseUrl'] = ' http: // localhost: 8083 / renren-fast';
for the rear end of the front-access address
as shown below: 8083 port number set in the background corresponding