[TYPO3-english] How do you develop websites?

Christian Reiter cr at cNOSPAMxd.de
Fri May 15 15:44:25 CEST 2015


I usually work this way:

* Separate local installations for development of each TYPO3 project.
* Separate versioning repositories for each project. Sometimes the 
repository is hosted at the customer, sometimes it's mine.
This is no problem at all once you've gone through the steps.

* For initial setup of the customer site I don't bother with T3D since 
all the data will be new - just do a raw import

* Once the site is live, I regularly import content to my local DEV 
system by script if it is necessary to have "real data" to test new 
features. That means DB dump of relevant content, and rsync of 
fileadmin/uploads.
You can use MySQL REPLACE queries to automatically fix sys_domain 
records or any HTTP_HOST conditions in sys_template, so you can 
instantly run "local.myproject.com" after importing everything from 
"www.myproject.com" or "stage.myproject.com".

Some clients may prohibit by contract the fetching of editor-created 
backend data off their "premises" (some intranets). In that case there 
needs to be a DEV system at the customer, with only initial alpha 
development taking place locally with neutral dummy data.

Many projects use git-flow and a content staging tool.

Server staging means that there are two servers running the master branch:

STAGE which is where editors build content, it gets approved and 
published by page, individual record or page tree - but it is not 
accessible to the entire Web

LIVE which is web-facing, delivers content, but no new content is 
created by backend editors (otherwise you would have ID conflicts)

My local server will, whenever I am coding, be switched to a git feature 
branch which I push to a central git repository (e.g. hosted on a Gitlab 
instance at the client)

To check new features and integrate them to build a new release, there 
will then be a number of different servers to host individual feature 
branches, prepare a new release etc, usually 3 or more.

So really, servers are getting set up all the time and once you get the 
hang of it, it's nothing to fear.

When using Vagrant always remember to use "vagrant destroy" regularly so 
you can find out if your scripts really still work ;)


best regards,

Christian


Am 15.05.2015 um 14:28 schrieb Jan Bednarik:> Hi all,
 >
 > regarding the thread about Import/Export troubles, I wonder, how do you
 > work? Because I have exactly the same problems with T3D which I use
 > heavily.


More information about the TYPO3-english mailing list