-
Development:
- Fix a cache issue:
npm config set cache "C:\Users\Firstname~1\AppData\Roaming\npm-cache" --global
ornpm config set cache C:\tmp\nodejs\npm-cache --global
- Download or clone this repository
- Change directory:
cd sutdsoar
- Install dependencies:
npm install
- Run
npm run dev
- Fix a cache issue:
-
Production:
-
Netlify (CSR SPA):
- Build command:
npm run build:spa
- Publish directory:
dist
- Deploy log visibility:
Private logs
- Production branch:
master
- Deploy previews:
Automatically build deploy previews for all pull requests
- Branch deploys:
Deploy only the production branch
- Build image:
Ubuntu Xenial 16.04 (default)
- Asset optimization:
Pretty URLs
,Bundle CSS
,Minify CSS
,Bundle JS
,Minify JS
andCompress Images
- Custom domain:
sutdsoar.netlify.com
andsoar.opensutd.org
- Build command:
-
Heroku/AWS (SSR PWA):
- Coming soon!
-