epanel

1.1.2 • Public • Published

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:

/epanel/

    Package Sidebar

    Install

    npm i epanel

    Weekly Downloads

    2

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    4.3 MB

    Total Files

    362

    Last publish

    Collaborators

    • lifp