Prev | Current Page 275 | Next

Rob Allen, Nick Lo, and Steven Brown

"Zend Framework in Action"

php
Adding places/web_root/.htaccess
Licensed to Menshu You
Zend Framework in Action (Ch01) Manning Publications Co. 6
Adding places/application
Committed revision 1
Having created those directories and imported the start of our project into the svn repository we are ready
to start using it for development. Figure 10.1 shows the svn directory structure after the first commit.
Figure 10.1 The places SVN repository after the first commit
Checkout the latest code from the repository
Having set-up the project repository to this stage we then decide to finish up for the day and leave Rob, whose
day has just begun, to add his work. By the time morning comes we can see in listing 10.5 that the repository is
bursting at the seams with new files, ready for us to checkout a working copy into our local virtual host setup
machine.
Listing 10.5 Checking out the latest work from the repository
$ svn checkout http://www.example.com/svn/places/trunk/ places/ A
A places/web_root
A places/web_root/css
... B
A places/db
A places/db/test_data.sql
Checked out revision 2.
A Note the second directory which specifies to checkout the places/trunk directory to a local places directory
B Output condensed for brevity
Commit some changes to the repository
At this point it is worth starting to develop some good commit habits, the main one being to try and keep the
purpose of the changes as focused as possible.


Pages:
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287
ABC agencja reklamowa poznaƄ betsson Paula Abdul mieszkania szczecin