-
Notifications
You must be signed in to change notification settings - Fork 0
1. Installation, Running, and Building
William Kwok edited this page Mar 17, 2020
·
3 revisions
Note, modifying the website has been optimized for *nix devices. If any of the scripts don't work, you will have to debug.
Using currently node version 12.3.0, please use node version manager to handle versions if you can.
nvm use # this is node version manager.
npm install
On file save, it will refresh the application and start deploying the latest changes.
npm run dev
This is what we do on the IUGA server. Production mode is different from development mode because all the files are static and load faster. It is optimized for production rather than development. This means things like variable names are more obfuscated for compression, etc.
npm run build
npm run productionstart
npm run deploy