npm install vue
npm install
First, sign into WeRelate and get the values of three cookies:
- wikidb_session
- wikidbUser
- wikidbUserName
and copy them into vue.config.js.
Next
npm run serve
Note: If you are deploying to the sandbox
- set WR_SERVER="http://sandbox.werelate.org" in Server.js
- set VUE_APP_API_BASE_URL=http://sandbox.werelate.org in .env.production
npm run build
scp -r dist/* admin@<IP>:gedcom-review-js
ssh admin@<IP>
sudo cp -r ~/gedcom-review-js/* /var/www/html/gedcom-review/
npm run lint