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/
|
2011-09-09 13:25:50 +00:00
|
|
|
$ git submodule update --init
|
2011-09-09 13:20:52 +00:00
|
|
|
$ 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
|
|
|
|
```
|
2011-09-09 13:24:03 +00:00
|
|
|
|
|
|
|
## Opening
|
|
|
|
Now everything may work fine at `http://dev.beathaven.org:8080/`
|