You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
Contributions are welcome. Feel free to open a pull request with changes.
10
10
11
-
###Running it Locally
11
+
## Running it Locally
12
12
13
13
It can be helpful to preview changes on your computer before opening a pull request. *ROOCS website* uses the [Jekyll static site generator](http://jekyllrb.com/). After forking or cloning the repository, perform the following steps to generate the site and preview it:
14
14
@@ -17,9 +17,28 @@ It can be helpful to preview changes on your computer before opening a pull requ
17
17
-`bundle exec jekyll serve`
18
18
- Point your browser at http://127.0.0.1:4000/
19
19
20
+
### Use Docker as build environment
21
+
22
+
Run this once to generate Gemfile.lock:
23
+
```
24
+
docker-compose run jekyll bundle install
25
+
```
26
+
27
+
Build image:
28
+
```
29
+
docker-compose build
30
+
```
31
+
32
+
Start service:
33
+
```
34
+
docker-compose up
35
+
```
36
+
37
+
Open http://localhost:4000
38
+
20
39
## Deployment
21
40
22
-
Pull requests merged to the master branch are automatically deployed to the production website.
41
+
Pull requests merged to the main branch are automatically deployed to the production website.
0 commit comments