To debug a web site when using SVN?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
4 views
Harpreet!


Question for web developers (in my case, using CodeIgniter + MySQL; the site itself is the virtual. hosting a Subversion repository at SVN hosting) — how do you debug the project?


For example, the involved specialists (programmers, coders, etc.) create a working copy from a repository.


The project is desirable to debug online, but the main website (domain) can not touch it.


What sequence of actions can be recommended? Update (check out) from the repository, then make changes, then direct fix to the test server via FTP, and when everything is ready and debugged, and only then commit?


How to ensure you edit the database structure? Do I have to use ORM (e.g. Doctrine) or you can do without it?


Thank you.
by | 4 views

4 Answers

0 like 0 dislike
IMHO, the most convenient, when each developer on the team has a domain like nickname.dev.site.com. Are these hosts or developers on the machine, or a small ServerSocket in the office. All commits go to dev.site.com there change scan testers and management. Once everyone is happy, the code dev.site.com laid out on site.com.
by
0 like 0 dislike
Hook on commit svn makes export to the test server. Post debug — branch code branch and export the branch to a production server.
by
0 like 0 dislike
And what's the problem with SVN? Standard, mysqldump, rsync, and a couple of ready scripts and a test server.
For specific settings, I create a separate git branch, if necessary.
by
0 like 0 dislike
Testim on the svn server directly.
by
110,608 questions
257,186 answers
0 comments
27,943 users