Seele Monitor integration frame for sharding.
- node
- npm
- node
- npm
- nginx
make sure you have node.js and npm installed
# clone seele-frame repository
git clone https://github.com/seeleteam/monitor-frame.git
cd monitor-frame
# install the dependencies
npm install
# start seele-frame front
npm run dev
make sure you have node.js,npm,nginx installed
# clone monitor-frame repository
git clone https://github.com/seeleteam/monitor-frame.git
cd monitor-frame
# install the dependencies
npm install
# build production output
npm run build
# deploy monitor-frame vue front
cp -r dist /usr/local/nginx/monitor-frame
# config nginx server
...
# reload nginx
nginx -s reload
// set the shard view of seele-monitor, default display index 1
menuList: [
{
id: '1', // index unique id
menuName: 'Shard 01', // display name
url: 'http://localhost:3001' // access url
},
]
see seele-frame at http://localhost:8000(default)
# install dependencies
npm install
# start server
npm run start
# code check
npm run lint
# build for production
npm run build