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: docs/README.md
+15-3Lines changed: 15 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,25 @@ It can take up to 10 minutes for changes to your site to publish after you push
13
13
### Previewing Changes Locally
14
14
Assuming [Jekyll] and [Bundler] are installed on your computer:
15
15
16
-
1. Change your working directory to the root directory of your site.
16
+
1. Change your working directory to `docs/` in the local copy of the repository.
17
17
18
18
2. Run `bundle install`.
19
19
20
-
3. Run `bundle exec jekyll serve --watch` to build your site and preview it at `localhost:4000`.
20
+
3. Run `bundle exec jekyll serve --watch` to build your site.
21
21
22
-
The built site is stored in the directory `_site/`.
22
+
4. Preview the site in a web browser at `localhost:4000`.
23
+
24
+
The built site is stored in and served from `_site/`.
25
+
26
+
NOTE: The copy of Ruby included with macOS will likely not be of a new enough version. We suggest you install Ruby via Homebrew with,
27
+
```
28
+
brew install ruby
29
+
```
30
+
add the following to your `.bash_profile`,
31
+
```
32
+
export PATH="/opt/homebrew/opt/ruby/bin:${PATH}"
33
+
```
34
+
then start a new terminal and follow the above steps.
23
35
24
36
## Structure
25
37
Each page in the [front end of the documentation](https://issmteam.github.io/ISSM-Documentation/) has a corresponding Markdown file (`.md`) in the appropriate subdirectory of `docs/`. For example,
0 commit comments