vdash
=====

Rootstrikers volunteer dashboard


Local Setup
===========
Install Postgres, start psqld. On OSX, http://postgresapp.com/ is an easy way to do this.

Then:
```
createuser -h localhost -s vdash
bundle install
rake db:create db:migrate db:test:prepare

./script/rails server # to run dev server
autotest # to run tests
```


Deploying to Heroku
===================
To get set up:
```
brew install heroku-toolbelt # for OSX with brew
heroku login
cd vdash
heroku git:remote --app vdash # --app arg tells is the heroku app to link to
```

Then to deploy:
```
git push heroku master
heroku run rake db:migrate
```

vdash
=====

Rootstrikers volunteer dashboard


Local Setup
===========
Install Postgres, start psqld. On OSX, http://postgresapp.com/ is an easy way to do this.

Then:
```
createuser -h localhost -s vdash
bundle install
rake db:create db:migrate db:test:prepare

./script/rails server # to run dev server
autotest # to run tests
```


Deploying to Heroku
===================
To get set up:
```
brew install heroku-toolbelt # for OSX with brew
heroku login
cd vdash
heroku git:remote --app vdash # --app arg tells is the heroku app to link to
```

Then to deploy:
```
git push heroku master
heroku run rake db:migrate
```

If you need to make yourself an admin:
```
heroku run rails c
User.find_by_name('your_name').update_attribute(:admin, true)
```

Add instructions for making yourself an admin on Heroku
Add instructions for making yourself an admin on Heroku
