Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
How can I enable access to a second user working on local wordpress development Project
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.
You 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 Schou9,208 Points
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/ :)