-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ichy edited this page Apr 27, 2019
·
32 revisions
環境構築手順
- CentOS 7 を用意
- sudo 権限を付与
(ユーザで)$ su (ルートで)# echo "$USER ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/$USER
- Ruby環境をインストール
$ sudo yum install git $ git clone [https://github.com/ichylinux/daddy.git または [email protected]:ichylinux/daddy.git] $ pushd daddy $ bin/dad local $ popd
- sudo 権限を付与
- Hyaccのインストール
- ソースを取得
$ git clone [https://github.com/hybitz/hyacc.git または [email protected]:hybitz/hyacc.git] $ cd hyacc
- 各種ミドルウェアのインストール
$ bundle install $ rake dad:setup
- DBの初期化
$ rake dad:db:create $ rails db:reset
- テスト
$ rails test $ rake dad:setup:test $ rake dad:test
- 起動
$ sudo systemctl restart nginx
ブラウザから http://localhost にアクセスして動作を確認します。
- ソースを取得