I know this has been asked before, I wasn't able to find a solution for my situation. I am just hoping to get some insight from the community.
Basically, I want to use gitlab for a web application (html,php,mysql) I have been working on. I have been using FTP in a team of 3-4 people for a year and I'm trying to switch over to gitlab. We have a local community version of the software running. I have been able to setup the hook to upload the files to the live website when we commit or push.
Here's where I'm stuck;
- How can I still develop the web application at the speed I was with FTP?
- Do I need to have a local web server running on everyone's computer who is working on the development?
- The web application is configured to work on a specific domain with url rewrites. If I change that and then commit my changes it would break the live site. Do I just exclude syncing of config files?
- If we make a database change, what's the best practice to get that updated on the production server? Do we need to write an "upgrade" script to handle that?
Debugging is a pain if I need to write some code, then push to a dev server and wait for the hook to fire. That's 1-3 minutes where it used to take 1-3 seconds. Then once we're done we commit to the production server. I feel like I'm missing something here.