backend
: contains all backend express api and mysql related codefrontend
: contains all frontend react code
- ssh into amass.us server
- start screen or attach to existing screen (google how)
- pull latest copy of project with
git pull
- in frontend directory,
npm run build
, then trynpm run deploy:cp
or run its command directly - review live site for updated React-content
- in backend directory...
- if the first time or needed for reseeding, run
npm run seed
-- important: start mongo first - with screen running, start another screen window session CTRL+A + CTRL+C; then
npm run dev
because production mode is not worth it right now (easier to debug this way) - visit https://amass.us/api/ to visit the health check - if
time
is not present or very old, review the above steps - OP hacks.