This is a block explore of seele.
- node
- npm
- node
- npm
- nginx
make sure you have node.js and npm installed
# clone scan repository
git clone https://github.com/seeleteam/scan
cd scan
# install the dependencies
npm install
# start scan vue front
npm start
make sure you have node.js,npm,nginx installed
# clone scan repository
git clone https://github.com/seeleteam/scan
cd scan
# install the dependencies
npm install
# build production output
npm run build
# deploy scan vue front
cp -r dist /usr/local/nginx/seele-scan
# config nginx server
...
# reload nginx
nginx -s reload
NODE_ENV: '"development"', // dev mode
NEW_WORK_ID: 2, // net work type, ex: 1 main 2 test
SCAN_API_URL: '"http://localhost:3003"', // scan-api url
SCAN_API_PATH: '"/api/v1"' // scan-api path
NODE_ENV: '"production"', // prod mode
NEW_WORK_ID: 2, // net work type, ex: 1 main 2 test
SCAN_SHARD: 20, // shard number
SCAN_API_URL: '"http://localhost:3003"', // scan-api url
SCAN_API_PATH: '"/api/v1"' // scan-api path
see seele scan at http://localhost:3002(default)
# install dependencies
npm install
# serve with hot reload at localhost:3002
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test