Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.23 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.23 KB

Management Commands

  1. Always use the -l brian.feister@gmail.com flag for rhc commands to be scoped to the proper org / account
  2. SSH into the app via ssh 559b11c3500446f9e900005c@openlegend-openlegend.rhcloud.com
  3. From ssh'd inside the app, get a status of disk usage quota with quota -s or a listing of the 50 largest files in ascending order with du -h * | sort -rh | head -50

Install & Run

  1. Clone this repo
  2. make sure you have npm and jspm installed globally
  3. npm install && jspm install

Run Production Mode Locally

  1. Complete initial install above
  2. from project root, gulp compile-all watch will compile everything and start the watcher
  3. in a separate bash shell, start the project node server from client/dist cd {project root}/client/dist && npm start

Deploy

  1. Run gulp compile-production to copy and compile assets into the /dist directory.
  2. Navigate to /dist (we deploy from there at present)
  3. git add -A
  4. git commit -a -m 'my descriptive commit message'
  5. Log into GCE console at https://console.cloud.google.com/cloudshell/editor?project=ordinal-quarter-116902
  6. cd src/ordinal-quarter-116902/open-legend-ui/
  7. git pull origin master
  8. gcloud app deploy ./app.yaml