The new and improved IGO website built using the MEVN stack.
-
Configurations - Update
.envfile inbackend/(Not available in git repo - take from VMdlviigoweb1at/srv/www/genomics/.env) -
Run
cd backend npm install npm run start
-
Configurations - Update
env.development,env.staging, andenv.productionfiles infrontend/(Not available in git repo - take from VMdlviigoweb1). -
Run
cd frontend npm install npm run serve # application should start on localhost:8080 and will use `env.development` by default
**QA/Staging**
```
make ENV=staging HOST=dlviigoweb1 deploy # will build using `env.staging`
```
**PROD**
```
make ENV=production HOST=plviigoweb1 deploy # will build using `env.production`
```
Notes:
- This DELETES the existing application on the
HOSTspecified. It then copies the packaged application created locally to the new location. - This creates and copies a
distdirectory to thebackenddirectory in your home on theHOSTspecified. Make sure your~/deploymentsexists on thatHOST! make deployis aMakefilecommand. If there are issues w/ this step, please review thedeploystep of the Makefile- Expect to enter your password multiple times - once to
scpthe packaged application, once to remotely send the install command, and to rundzdoremotely (dzdoallows for root access on our VM's and is needed so you can re-deploy if another user was the last to deploy)