From 42f96edafdb3b457095ab211c7887a5bdee9d13f Mon Sep 17 00:00:00 2001 From: OhIAmFine <845782625@qq.com> Date: Wed, 22 May 2019 11:28:15 +0800 Subject: [PATCH] optimize INSTALL.md: add some steps --- INSTALL.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index bfeae2d..1048808 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,10 +1,14 @@ -You'll need ruby and redis installed to run this. If you're on a mac, one way to go getting redis is to install [homebrew](https://brew.sh/), then run `brew install redis`. Then, for ruby, install [rvm](https://rvm.io/). +You'll need ruby and redis installed to run this. If you're on a mac, one way to go getting redis is to install [homebrew](https://brew.sh/), then run `brew install redis`. +Another way is to install [docker](https://docs.docker.com/docker-for-mac/install/), +then run `docker run --name redis -p 6379:6379 -d redis`. +Then, for ruby, install [rvm](https://rvm.io/). Once ruby + redis are installed you can just run `redis-server` in a terminal to start redis. To boot the ruby web server that serves our html + css: ``` +gem install bundler bundle install bundle exec puma ```