git clone https://github.com/basarevych/next-dashboard
cd next-dashboard/web
cp .env.example .env
Edit .env file and set your options
cd next-dashboard/common
yarn install --prod
cd ../web
yarn install --prod
yarn relay
yarn build
yarn start
cd next-dashboard/common
yarn install --prod
cd ../web
yarn install --prod
yarn relay
yarn build
yarn export
Point your HTTP server to /out subdirectory or just do yarn serve
cd next-dashboard/common
yarn install
cd ../api
yarn install
yarn schema
cd ../web
yarn install
yarn relay
yarn dev
cp systemd.service /etc/systemd/system/next-dashboard-web.service
systemctl daemon-reload
systemctl enable next-dashboard-web
systemctl start next-dashboard-web
pm2 start pm2.config.js