[TYPO3-english] working offline

Charles Lewis lewis at swau.edu
Mon Mar 1 18:17:46 CET 2010


How does this work since Typo3 is stored in MySQL? Does MySQL have to be shut down in order to synch? What if other people are using (ie making changes to) the Typo3 database after you have pulled the content? I'm assuming that pushing my database would wipe out their changes.

-----Original Message-----
From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] On Behalf Of Stefano Kowalke
Sent: Saturday, February 27, 2010 6:44 PM
To: typo3-english at lists.typo3.org
Subject: Re: [TYPO3-english] working offline

Am 27.02.10 01:01, schrieb Charles Lewis:
> Is there a way to copy a typo3 website to a laptop, make changes offline, and then synchronize your changes once you get back online?

You could use GIT for such workflow. Build a repository at you local
machine, import the local T3 installation into it.

Make a copy of this repo and put it to your server. This repo must be a
--bare repo. Then pull the content to the webfolder.

         Webserver
     --bare project.git
     /              \
    /                \
   push               pull
  /                    \
local                  webfolder
 .git                   .git
 workingcopy            working copy



Now, you could make some changes on the installation at your local
machine, commit it to you local git repo and if you are online once,
push the changes to the server and pulling the changes into the online
working copy.
You could automated the pulling by using hooks.


This is a very raw overview. Please have a look to the links.

Cheers
Stefano

[1]
http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#pushing-changes-to-a-public-repository
[2] http://git-scm.com/
[3] http://toolmantim.com/thoughts/setting_up_a_new_remote_git_repository
[4] http://progit.org/


_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english




More information about the TYPO3-english mailing list