Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 523 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 523 Bytes

Wchia-client


Build Step


// Install dependency
npm install

// Build for test station
npm run build:test

// Build for production
npm run build:prod

Package file path: ./dist/*

Server configure

Nginx

server {
	listen 80;
	server_name server_name;
  	root /data/apps/dist;

	location / {
        index index.html index.htm;
		try_files $uri $uri/ @router;
    }

	location /rpc {
	       proxy_pass	api_host;       # http://143.198.64.14:4600
	       proxy_redirect	default;
	}
}