@@ -17,6 +17,20 @@ the information in one of the sections below.
17
17
18
18
## Getting Started
19
19
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
+
20
34
Once you have cloned the project you will need to run ` bundle install ` to
21
35
install the Ruby dependencies. If you do not have [ bundler] ( http://bundler.io/ )
22
36
installed you will need to run ` [sudo] gem install bundler ` first.
@@ -25,17 +39,7 @@ You should also do `cp .env.sample .env` and edit the newly created `.env` file
25
39
with the appropriate values. Take a look at the
26
40
[ Environment Variables documentation] ( /docs/environment.md ) for more details.
27
41
28
- To start the Jekyll web server, run ` bundle exec jekyll serve ` .
29
-
30
- ### Docker
31
-
32
- Clone repo to your local machine. From the repo root, enter:
33
-
34
- ` docker build -t rebble-dev . `
35
- ` docker run --rm -it -p 4000:4000 -v "$PWD":/site -w /site rebble-dev \ `
36
- ` bundle exec jekyll serve --host 0.0.0.0 --port 4000 `
37
-
38
- Then open http://localhost:4000
42
+ To start the Jekyll web server, run ` bundle exec jekyll serve ` .
39
43
40
44
## JS Documentation
41
45
0 commit comments