Skip to content

Serverside setup

uniom edited this page Jan 13, 2013 · 42 revisions

1.rvmとrubyをインストール

(rvmインストール手順)[https://rvm.io/rvm/install/]

$ rvm get head
$ rvm reload
$ rvm install 1.9.3

2. リポジトリからclone

$ git clone -depth 1 [email protected]:Araki/CouplingServer.git`

3. bundle install

$ bundle install --path=vendor/bundle`

4. mysqlのインストール

5. mysqlの起動

$ /usr/local/mysql/bin/mysqld`

6. マイグレーション

$ bundle exec rake db:migrate`

7. WEBrick(webサーバ)起動

$ bundle exec rails server`
Clone this wiki locally