I work full-time in web development and in the company I work in we employ a deployment environment methodology (developing in development -> testing in staging -> deploying to production once testing is done).
My experience with developing in Garry’s Mod lua is:
- Editing files directly in a remote server via FTP
- Developing locally and then manually pushing code after every major update
After doing the above for a while I’ve come to the conclusion that these methods are simply not fast enough while also being error prone, such as sometimes forgetting to carry over some files from the beta server to live, breaking some features. This is especially true in the case of direct FTP file editing.
Basically, what I’m looking for is a method to:
- Develop Garry’s Mod lua locally, if needed, using a development database (local/remote);
- Commit changes to source control;
- Pull the changes via source control in staging (or beta, which would be a remote server);
- Test a bunch of implemented features, give beta testers a try at breaking the implementation;
- If all is well, pull the changes via source control in production, without the requirement to do much testing there.
Have any of you found some solutions to work in this, or similar, way?