1.1.2 • Published 5 years ago

epanel v1.1.2

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Configuration

install necessary software

nginx > 1.8.0
node > 6.1.0
nodeman
rimraf
yarn

nginx config

vie app/server/config/nginx.conf

Deployment:

cp index.example.js index.js
sudo wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo
curl --silent --location https://rpm.nodesource.com/setup_6.x | sudo bash -
sudo yum install yarn
yarn config set registry https://registry.npm.taobao.org
yarn add global rimraf
yarn add global cross-env
yarn add global nodemon

?pm2??
NODE_ENV=production NODE_PATH=./app pm2 start dist/server-build/server/index.js

Development: