2011-09-09 13:20:52 +00:00
|
|
|
# BeatHaven
|
|
|
|
Ultimate web jukebox.
|
|
|
|
|
|
|
|
## Checking out
|
|
|
|
```bash
|
|
|
|
$ git clone git@github.com:magnolia-fan/BeatHaven.git beathaven
|
|
|
|
$ cd beathaven/
|
|
|
|
$ bundle install
|
|
|
|
$ rake db:migrate
|
|
|
|
```
|
|
|
|
Note: you need PostgreSQL installed and added its binaries to $PATH
|
|
|
|
|
|
|
|
## Configuring
|
|
|
|
add this line to `/etc/hosts`:
|
2011-09-09 13:22:23 +00:00
|
|
|
|
2011-09-09 13:20:52 +00:00
|
|
|
```
|
|
|
|
127.0.0.1 dev.beathaven.org
|
|
|
|
```
|
|
|
|
|
|
|
|
## Starting server
|
|
|
|
1st tab:
|
2011-09-09 13:22:23 +00:00
|
|
|
|
2011-09-09 13:20:52 +00:00
|
|
|
```bash
|
|
|
|
$ unicorn_rails
|
|
|
|
```
|
|
|
|
|
|
|
|
2nd tab:
|
2011-09-09 13:22:23 +00:00
|
|
|
|
2011-09-09 13:20:52 +00:00
|
|
|
```bash
|
|
|
|
$ rake jobs:work
|
|
|
|
```
|