A relief effort to connect donators with those in need
PHP JavaScript Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
apps
config
data better test coverage, updated stuff forms May 6, 2010
lib adds migrations for "resource_type" field in contact table to keep tr… May 29, 2010
plugins
test
web
.gitignore
.gitmodules
Capfile
README.markdown Updated README with instructions on using Capistrano to deploy. May 7, 2010
symfony

README.markdown

Donate Nashville

Setup

Pull down the repository

git clone git@github.com:bshaffer/Donate-Nashville.git
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 http://github.com/vjousse/symfony-1.4.git

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