Skip to content

virus-lab/recruiting-website

Repository files navigation

recruiting-website

Usage

Install

$ npm install

Test on local

$ npm run dev

http://0.0.0.0:8080 OR http://localhost:8080

Release

Build
$ npm run build

Install on server

Port settings

~$ cd /opt/bitnami
/opt/bitnami$ sudo ./ctlscript.sh stop apache

Add 'Custom - TCP - 3000' on lightsail - networking

Run

~/workspace/recruting-website$ sudo npm start
~/workspace/recruting-website$ sudo forever --minUptime 5 --spinSleepTime 5 start ./bin/www ~/workspace/recruting-website
$ sudo forever list ~/workspace/recruting-website$ sudo forever stop /root/recruting-website/bin/www
Deploy

Upload all files in dist folder.