Talk:Reading/Web/Setting up a staging environment

Manual steps
It seems like the three sections 'Set up the Selenium_newuser and Selenium_user accounts', 'Set up a Spanish interwiki link' and 'Configure the MobileFrontend extension' have lots in common with Reading/Browser_tests/Setting_up_a_browser_test_instance.

Rob wrote a script that could automate a lot of this and it might be worth thinking about refactoring it so it can be used for both to avoid these manual steps. Jdlrobson (talk) 20:21, 29 July 2015 (UTC)

Also what are they needed for? Jdlrobson (talk) 20:49, 29 July 2015 (UTC)


 * @Jdlrobson: They're needed to get the MobileFrontend browser tests passing. Phuedx (WMF) (talk)

Permissioning problems
I keep running into various permission problems: warning: unable to access '/home/jdlrobson/.config/git/attributes': Permission denied
 * /10 * * * * labs-vagrant git-update

Any idea why/how to get around these? Otherwise instructions were great! Jdlrobson (talk) 21:01, 29 July 2015 (UTC)
 * Seems this is happening because vagrant user doesn't have access to /home/jdlrobson/.config/git/attributes. Perhaps setting up the cron job to run under the user who creates the instance will solve this ? Robmoen (talk) 22:37, 30 July 2015 (UTC)
 * Yarrrp! Right above the first  command you'll see  . I ran most of the commands as the vagrant user and so set up the crontab as the vagrant user too Phuedx (WMF) (talk)

Set up regular codebase updates
To avoid the permission issues, perhaps a solution is to run thnd all e cron job under the user account of whoever sets up the instance?

Set up a Spanish interwiki link
Tested with the instructions provided, made the above suggestions. All seems good otherwise. Robmoen (talk) 22:35, 30 July 2015 (UTC)