Working with Git under Typo3

I work with several developers on websites using Typo3 CMS at the same time and I was thinking of using Git so that we could all work together without overwriting each others work, but I've run into a few problems, and I wonder if you guys could give me some insights:

  • I was thinking of installing a local webserver for everyone on the team, but then the database is not accessible from outside the live webserver, so that means that we have to make a copy of the webserver. Then there is the problem of, how to keep the database up to date between the developers (for example, adding an extension)

  • We have to add several variables like BASEURL for the project to work properly on each developer#s workstation

This was only 15 minutes right on the task, but it immediately made me question:

  • Is it practical to use VCS for developing websites between several developers?

Answers


  1. You should checkout gitosis to setup on git server accessible over the network
  2. For your environment problem :
    1. Try to uniformize development environment as much as possible
    2. Use the ignore feature of your VCS to ignore file that are supposed to handle only local changes

You need to identify which parameters are used to differentiate between the local and live environments, and in which files. This is really a separate issue from the use of VCS, although a common practice is to have a template settings file (the name can be slightly different from the actual file to avoid confusion) in version control that have configurations for multiple environments, but only one (usually local) set to active at any point in time.

### local ###
port=8080

### production ###
# port=80

Another scheme is to put such environment-specific config files in the respective config/env folders, and reference them accordingly.

config/local/config.properties
config/production/config.properties

Need Your Help

Implementing the Viterbi algorithm in a HMM with changing emission matrices across genomics markers

r stat hidden-markov-models genetics viterbi

I would like to ask for help in implementing a hidden markov approach to assigning ancestry based on SNP genotype data. Given that I have a transition matrix generated as such:

Calculate Factorial within a single “for” loop to calculate sum of series

c visual-studio for-loop

It took me a while conceptual to grasp how to code a loop that would calculate a given series in which a factorial was used.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.