File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN bundle config --global frozen 1
99
1010WORKDIR /usr/src/app
1111
12- COPY Gemfile Gemfile.lock ./
12+ COPY .ruby-version Gemfile Gemfile.lock ./
1313RUN bundle install
1414
1515COPY . .
Original file line number Diff line number Diff line change @@ -17,6 +17,20 @@ the information in one of the sections below.
1717
1818## Getting Started
1919
20+ ### Option 1: Install with Docker
21+
22+ Clone repo to your local machine. From the repo root, enter:
23+
24+ ```
25+ docker build -t rebble-dev .
26+
27+ docker run --rm -it -p 4000:4000 -v "$PWD":/site -w /site rebble-dev \
28+ bundle exec jekyll serve --host 0.0.0.0 --port 4000
29+ ```
30+ Then open http://localhost:4000
31+
32+ ### Option 2: Install natively (without Docker)
33+
2034Once you have cloned the project you will need to run ` bundle install ` to
2135install the Ruby dependencies. If you do not have [ bundler] ( http://bundler.io/ )
2236installed you will need to run ` [sudo] gem install bundler ` first.
You can’t perform that action at this time.
0 commit comments