Reading/Web/Setting up a staging environment

Setting up a staging environment for the MobileFrontend and Gather projects is trivial with labs-vagrant, though there are some minor manual steps that you'll need to perform.

Set up the instance
ssh to the instance and run the following commands:

Set up regular codebase updates
The simplest solution to this is to regularly run. So, as the vagrant user add the following to the crontab file: */10 * * * * labs-vagrant git-update

Set up the Selenium_newuser and Selenium_user accounts
After you've set up the instance, you'll notice that a Selenium_user account has already been created. Using the admin account, add the Selenium_user user to the administrator and bureaucrat groups.

You'll also need to create the Selenium_newuser account.

Set up a Spanish interwiki link
ssh to the instance and run the following commands:

Configure the MobileFrontend extension
See https://phabricator.wikimedia.org/P936 for the production-like configuration for the MobileFrontend extension. Since you're using labs-vagrant to set up the instance, you can isolate the MobileFrontend configuration from other extension configurations by creating a file in the  directory, i.e..