Auto-tools/Projects/OrangeFactor: Difference between revisions

Add deployment instructions
(Mention requires LDAP auth)
(Add deployment instructions)
Line 57: Line 57:
** Currently synced manually by :eykle.
** Currently synced manually by :eykle.
** Plans to automate this in the future ({{bug|1344253}}).
** Plans to automate this in the future ({{bug|1344253}}).
== Deploying ==
* Ensure you are a member of the LDAP group `vpn_brasstacks` and are on the sudoers list in puppet.
* Either connect to MozillaVPN or have the SSH jumphost set up via a `ProxyCommand` in your SSH config, then ssh to `brasstacks1.dmz.scl3.mozilla.com`.
* To pull new changes from the Hg repo:
  sudo -u webtools hg pull -uv -R /home/webtools/apps/orangefactor/src/orangefactor/
* To then pick up any changes to the Python REST API (not required for changes to the Python scripts run by cron):
  sudo service orangefactor restart
* It's no longer necessary to sync the UI static assets in the source directory with the openresty/nginx default public root, since they are served directly from the source directory.


== Making Oranges Interesting ==
== Making Oranges Interesting ==
canmove, Confirmed users
1,126

edits