Skip to content

Instantly share code, notes, and snippets.

@medun
Last active September 14, 2017 21:21
Show Gist options
  • Save medun/88dd1a0ea2577422e483ebedfeb29687 to your computer and use it in GitHub Desktop.
Save medun/88dd1a0ea2577422e483ebedfeb29687 to your computer and use it in GitHub Desktop.
Running PubHub in Rig

1.Get up to date in the mono dir

cd /opt/buzzfeed/mono git checkout master git fetch origin master git rebase origin/master

2.Go into your vm -- it is RIG!

####try starting rig* ssh dev.buzzfeed.io

####once you're in rig you'll see the special rig prompt: [root@rig ~]$

timing out?

####maybe it's not up ./scripts/rig_vm up

####maybe you need to reload ./scripts/rig_vm reload

need to get out of the vm?

####maybe you need to exit exit rig

####maybe you need to destroy it destroy rig

3. Once in rig, run your app

####navigate to mono:

cd /src/mono

####start up the app in one window:

rig run pubhub_ui

####view your app here: http://10.51.50.10:8088/

4. Cool. Now run your frontend tasks (not in the VM)

####navigate to pubhub in mono cd /opt/buzzfeed/mono/pubhub_ui

####rebuild command npm run develop should watch and rebuild each time. if that doesn't work in rig use npm run build each time you make a frontend change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment