Commit 15b72835 by Tsubasa Namiki

Modify README

parent d421e938
Docker Restyaboard Docker Restyaboard
============================== ==============================
Restyaboard Build Restyaboard using Docker.
http://restya.com/board/
* Restyaboard
http://restya.com/board/
Install
Build and Run Docker using docker-compose
------------------------------
``` bash
$ sudo yum install docker
$ sudo pip install -U docker-compose
$ git clone https://github.com/namikingsoft/docker-restyaboard.git
$ cd docker-restyaboard
$ COMPOSE_API_VERSION=1.18 docker-compose up -d
```
Include provisioning in AWS EC2
------------------------------ ------------------------------
```bash ```bash
$ git clone https://github.com/namikingsoft/docker-restyaboard.git
$ cd docker-restyaboard
$ bundle install $ bundle install
$ cp .env.sample .env $ cp .env.sample .env
$ vim .env $ vim .env
...@@ -17,16 +33,23 @@ $ vagrant plugin install dotenv ...@@ -17,16 +33,23 @@ $ vagrant plugin install dotenv
$ vagrant up && bundle exec rake $ vagrant up && bundle exec rake
``` ```
Rake
Check URL
------------------------------
http://(SERVER_IP):1234
Other Command
------------------------------ ------------------------------
### Provisioning ### Rake provisioning
```bash ```bash
$ bundle exec rake provision $ bundle exec rake provision
``` ```
### ServerSpec ### Rake serverspec
```bash ```bash
$ bundle exec rake spec $ bundle exec rake spec
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment