# create the space to store all your source code.
# make sure to back this up!
mkdir -p ~/svn/repositories
svnadmin create ~/svn/repositories/myproject
# set up the blank directory structure based on the svn best practices doc.
# you can use this in the future to create new project repositories.
mkdir ~/presvn
cd ~/presvn
mkdir -p branches tags trunk lib/vendor
# chuck the blank dir into the repository
cd
svn import presvn file:///Users/username/svn/repositories/myproject -m 'Initial Directory Structure'
# check out the trunk and rename it to your project name
svn checkout file:///Users/username/svn/repositories/myshout/trunk myproject
# go into the directory and set up svn:externals for symfony
cd myproject
# when the the text editor pops up after this command you want to enter:
# symfony http://svn.symfony-project.com/branches/1.2
# in the text editor
svn propedit svn:externals lib/vendor
# after saving and exiting the browser do an svn update:
svn update
# then generate the symfony project
php lib/vendor/symfony/data/bin/symfony generate:project myproject
Monday, October 19, 2009
How to create a new symfony project and svn repository on OS X
Labels:
create,
repository,
snow leopard,
svn,
symfony
Sunday, October 18, 2009
Internet In Australia
Internet in Australia SUCKS!
This is a self therapy rant:
Snow Leopard doesn't suck. It comes with a *AMP stack capable of running Symfony 1.2 which is fine for me right now. I'm just afraid that I'm gonna have to recompile everything from macports when I need some apache mod that's not in there.
This is a self therapy rant:
I fell off a boat here Cairns, Australia about a week ago. The hard drive in my macbook failed while I was floating around Papua New Guinea. I was convinced that waiting a couple weeks would make everything easier. Hard drives in PNG cost about 300% what they should and I wasn't sure where to start looking for a copy of osx.
Australia had Sow Leopard for $39 and a 320GB drive for $125 but downloading xcode, backtrack 4, NeoOffice, all my MacPorts, Nessus, Wireshark, Metasploit on a 25KB/s connection makes my eyes bleed. To aggravate the Apple forces a login to ADC in order to download which often breaks the resume. I had to shell into my site5 account and use lynx do download it to my own web space before I could curl in down.
Snow Leopard doesn't suck. It comes with a *AMP stack capable of running Symfony 1.2 which is fine for me right now. I'm just afraid that I'm gonna have to recompile everything from macports when I need some apache mod that's not in there.
Subscribe to:
Comments (Atom)
