Upgrade Revolution from GIT

on 27-Sep-2010 | Comments ( 4 ) Tags: Revolution

For this to work you will need a terminal connection to your server and the possibility to run terminal commands on your machine. If you have GIT installed on the server you'll probably want to skip step 3 and 4 or use some other GIT command or GIT tool.

Make sure you first BACKUP(files and database) your old install just in case something goes wrong.

If you want to get the development version go to github/modxcms/revolution, switch branch(2.0 in my case), click "Download Source" and skip to Step 3

1. Get a local copy

git clone http://github.com/modxcms/revolution.git

2. Clean the local copy

Remove git files. I'm sure there's a better way

rm -rf `find revolution/. -type f -name .gitignore`
rm -rf `find revolution/. -type d -name .git`

3. Archive the copy

zip -r revolution.zip revolution/

4. Upload the archive

scp revolution.zip username@host:public_html/revolution.zip

Or use your preferred FTP program.

5. Unzip on the server

unzip revolution.zip 

6. Copy files if needed

Overwrite the files. Your paths might be different

cp -r revolution/* ./

7. Configure build.config.php

Create and edit the _build/build.config.php file from build.config.sample.php

8. Build/Transport/Core

Navigate to YOUR_SITE.COM/build/transport.core.php

9. Upgrade

Navigate to YOUR_SITE.COM/setup

 

Official MODx documentation can be found here.


Please share your upgrade process in the comments section. I'm sure there is room for improvement as my "terminal" and GIT knowledge is limited.

Write a comment

  • Required fields are marked with *.

If you have trouble reading the code, click on the code itself to generate a new random code.
 
Zaigham
Posts: 3
Comment
Great Step by Step Tutorial
Reply #4 on : Wed September 29, 2010, 23:19:00
Thanks for writing to the point step by step tutorial!

regards.
Shaun
Posts: 3
Comment
Re: Upgrade Revolution from GIT
Reply #3 on : Sun October 10, 2010, 21:07:01
Great article! BTW, Try "git archive" instead of rm -rf on the .git files. It'll do pretty much what you need.
Viktorminator
Posts: 3
Comment
Tags
Reply #2 on : Mon October 10, 2011, 13:09:03
How do you make your tags not to be parsed? I just can`t find a really good one solution =(
cipa
Posts: 1
Comment
Re: Upgrade Revolution from GIT
Reply #1 on : Tue October 11, 2011, 08:11:22
Hi Victor,

I use
- http://alexgorbatchev.com/SyntaxHighlighter/
- Brackify plugin for modx Evo

I don't use tinymce for my resources and I encode the code I paste inside the pre tags

Cheers

Quick modx Evolution Tags

  • cached [[snippet]] or uncached [!snippet!]
  • {{chunk}}
  • [+placeholder+]
  • [*resourceField/TV*]
  • [^timing^]
  • [~link~]

Quick modx Revolution Tags

  • [[snippet]]
  • [[$chunk]]
  • [[+placeholder]]
  • [[*resourceField/TV]]
  • [[~link]]
  • [^timing^]
  • [[++systemSetting]]
  • [[%languageStringKey]]
  • all tags can be called un-cached like: [[! snippet]]

Timing Tags (Evo and Revo)

  • [^qt^] - Query time
  • [^q^] - Query count
  • [^p^] - Parse time
  • [^t^] - Total time
  • [^s^] - Source
© modxRULES! 2009-2014