Go Back   vb.org Archive > Community Discussions > Forum and Server Management
  #1  
Old 06-25-2008, 03:09 PM
davide101 davide101 is offline
 
Join Date: Dec 2005
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default The Best Development Environment

I have been updating vBulletin the old fashioned way: backup, download files, copy to server, overwriting existing files, running upgrade script. I do it this way for all of the software. My site is becoming big enough and such an important part of my livelihood, that I want to start doing it the 'right way'.

My first intuition is to install svn or some other versioning package. After that, I'm not sure exactly what the proper flow is. I'm sure there are hundreds of self-taught administrators that are in the same shoes.

Could one of you resident Judo Code Masters share a good process flow for updating vBulletin so that it's easier to move back in case of an emergency?

I'm sick of overwriting something by mistake, digging through old backups and trying to find a way to repair the damage!
Reply With Quote
  #2  
Old 06-26-2008, 02:53 AM
Eikinskjaldi's Avatar
Eikinskjaldi Eikinskjaldi is offline
 
Join Date: Feb 2006
Location: Hell, never looked better
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by davide101 View Post
I have been updating vBulletin the old fashioned way: backup, download files, copy to server, overwriting existing files, running upgrade script. I do it this way for all of the software. My site is becoming big enough and such an important part of my livelihood, that I want to start doing it the 'right way'.

My first intuition is to install svn or some other versioning package. After that, I'm not sure exactly what the proper flow is. I'm sure there are hundreds of self-taught administrators that are in the same shoes.

Could one of you resident Judo Code Masters share a good process flow for updating vBulletin so that it's easier to move back in case of an emergency?

I'm sick of overwriting something by mistake, digging through old backups and trying to find a way to repair the damage!
You don't mention what OS your board is running on.

I use cvs. I am not sure what you mean by flow though. If you are hacking vb core files directly instead of using hooks then you will also want to set up a patch system.
Reply With Quote
  #3  
Old 06-26-2008, 12:58 PM
nexialys
Guest
 
Posts: n/a
Default

the only solution:

1- use products instead of file edits... if your hacks are too old, ask someone to upgrade them to the product/addon level.
2- use styles that have not much template edits... the more complicated styles you have, the more job you have on upgrade
3- backup everything before upgrade

... when you have a clean forum, you have no problem upgrading... the more shnoot added to your forum, the more problems you have when upgrading.
Reply With Quote
  #4  
Old 06-27-2008, 05:33 AM
Josh1 Josh1 is offline
 
Join Date: Mar 2006
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use SVN, then everytime you get to a stable point you can easily bring it across to the server. When I'm developing, I do 0 changes to the "live" site, and keep all my changes within my dev environment.
Reply With Quote
  #5  
Old 06-27-2008, 07:56 PM
davide101 davide101 is offline
 
Join Date: Dec 2005
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Eikenskjaldi, My OS is CentOS. It's a standard LAMP setup. I don't hack files at the moment and have moved everything to projects.

Nexialys, I have learned to follow those three steps religiously. My templates are as simple as possible. I used to go crazy with that but now see the value in only making a change if it's critical for usability.

Josh1, I think my problem is that I don't have an efficient development environment. So perhaps that's really my question. What tools or flow do you use for developing on your test server and pushing it live. Is there a book I should read on the subject or is this pretty straight forward? I'd love to hear more about how you've setup your testing environment and how you move things around in more detail.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:53 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05410 seconds
  • Memory Usage 2,193KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (4)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete