Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (35 sloc) 1.33 KB

Donate Nashville


Pull down the repository

git clone
cd Donate-Nashville
git submodule init
git submodule update

Put the symfony library in your project

The easiest way is to do this is to clone symfony into some directory on your computer and then create a symbolic link into your project:

cd /path/to/put/symfony
git clone

cd /path/to/Donate-Nashville
ln -s /path/to/put/symfony/symfony-1.4 lib/vendor/symfony

A few more things:

mkdir log
mkdir cache
./symfony project:permissions

Setup your database

To set up your mysql database:

cp config/databases.yml.dist config/databases.yml

Uncomment out the dsn line in front of the mysql string, then update that string with the correct username and password. Finally, run the Symfony command to build the database.

./symfony doctrine:build --all --and-load

Push a new version of the site to the live server

Make sure you have ruby and rubygems installed! Install Capistrano and Capistrano EXT gems

gem install capistrano capistrano-ext --no-ri --no-rdoc

To push an update to the code.

cap production deploy

To push an update to the code with migrations.

cap production deploy:migrations