Skip to content

Commit f438c33

Browse files
committed
Adds mac installation directions
- This includes how to install key library and gems on a mac.
1 parent 000f323 commit f438c33

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

+30
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,36 @@ Follow the instructions below to install Bookbinder:
5252
**Note**: Ensure that the version of the DITA-OT library that you install
5353
supports the DITA version in which your documents are written.
5454

55+
56+
### Installation on a mac
57+
58+
1. Install ruby and needed dependencies
59+
```
60+
gem install bundler
61+
62+
brew install v8
63+
gem install therubyracer
64+
gem install libv8 -v '3.16.14.7' -- --with-system-v8
65+
brew install ant
66+
```
67+
68+
1. Install Dita-OT, version 1.7.5, full easy from http://www.dita-ot.org/download
69+
```
70+
cat >> ~/.bash_profile << EOF
71+
export PATH_TO_DITA_OT_LIBRARY="/Users/pivotal/workspace/DITA-OT1.7.5"
72+
EOF
73+
export PATH_TO_DITA_OT_LIBRARY="/Users/pivotal/workspace/DITA-OT1.7.5"
74+
```
75+
76+
1. Build the book
77+
```
78+
bundle exec bookbinder bind local
79+
80+
cd final_app/
81+
bundle install
82+
rackup
83+
```
84+
5585
## Usage
5686

5787
Bookbinder is meant to be used from within a project called a **book**.

0 commit comments

Comments
 (0)