Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSam Frampton
3,796 PointsHow can I enable access to a second user working on local wordpress development Project
Hi,
Appreciate if anyone can help me out.
I have set up a local Wordpress development environment using PHPmyadmin and it's working fine and I have it setup.
However, I need to add a second user so they can work on the site locally as well on their laptop. So far,
A) Created a new user on the PHPmyadmin B) Added a new user login for my Wordpress site
What else does the user need to ensure they can login? Just a MAMP server and is that it?
Please any advice would be much appreciated.
Cheers,
2 Answers
Mark Truitt
8,758 PointsYou are going to run into some issues with this depending on the situation. Any data is not transferred as they would be working 100% in their own copy.
For modifications to code I would suggest adding it to GIT. This would help keep track of who is changing what.
Other wise you are on the right track. Generally, development has gone to more of a data on staging server > pulled to local code changes modified in a form of GIT ( SVN etc. basically your personal flavor ) then those changes get pushed then pulled to the staging environment. There is no clean way to work locally on a similar project data wise unless you are connecting to the same database ( still not advised but the only way to do this at the same time and see instant changes via the database ).
Christian Schou
9,208 PointsHi Sam,
It depends on your situation..
- How is the WordPress site hosted - Local server? Public shared server?
- If the site is hosted on a public shared server the user can connect and collaborate on the site.
- If the site is hosted locally (the case most times when working with development). Then the user either has to be on your local network or you can setup a ngrok tunnel - https://ngrok.com/
Else go ahead and download "Local by Flywheel". A very nice local platform with built in support for ngrok, just hit the public button on a project and copy / paste the public URL, where other can see your website public https://local.getflywheel.com/ :)