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.
Mark Truitt8,758 Points
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/ :)