Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thilinamanamgoda/pivotal-bookbinder-dev
https://github.com/thilinamanamgoda/pivotal-bookbinder-dev
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thilinamanamgoda/pivotal-bookbinder-dev
- Owner: ThilinaManamgoda
- Created: 2020-09-03T07:21:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-03T07:41:23.000Z (over 4 years ago)
- Last Synced: 2024-11-11T10:51:13.552Z (2 months ago)
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pivotal-bookbinder-dev
This repository contains Docker resource for [Bookbinder](https://github.com/pivotal-cf/bookbinder) development
environment.### How to use
1. Make sure that you doc-app has the following directory structure.
```
.
├── docs-book
│ ├── bin
│ ├── final_app
│ │ └── lib
│ │ └── search
│ ├── master_middleman
│ │ └── source
│ │ ├── images
│ │ ├── javascripts
│ │ ├── layouts
│ │ ├── sass
│ │ │ └── partials
│ │ ├── stylesheets
│ │ │ └── partials
│ │ └── subnavs
│ └── output
│ ├── master_middleman
│ │ └── source
│ │ ├── archive_menus
│ │ ├── fonts
│ │ ├── images
│ │ ├── javascripts
│ │ │ ├── page_initializers
│ │ │ ├── src
│ │ │ └── vendor
│ │ ├── layouts
│ │ ├── sass
│ │ │ └── partials
│ │ ├── style_guide
│ │ ├── stylesheets
│ │ │ ├── partials
│ │ │ └── vendor
│ │ └── subnavs
│ └── preprocessing
│ └── sections
├── docs-content
│ └── images
└── docs-layout
└── source
├── archive_menus
├── fonts
├── images
├── javascripts
│ ├── page_initializers
│ ├── src
│ └── vendor
├── layouts
├── style_guide
└── stylesheets
├── partials
└── vendor
```2. Create directory to persist Ruby bundles
```
mkdir /tmp/bundle-cache
```3. Run the following command to build and expose the doc-app.
```
docker run -v /tmp/bundle-cache:/bundle-path -v :/book -p 4567:4567 maanadev/pivotal-bookbinder-dev:latest
```4. Access the doc HTML pages with your favourite browser.
```
http://localhost:4567
```