Skip to content
No description, website, or topics provided.
Ruby HTML Shell CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
views
.gitignore
Gemfile
Gemfile.lock
README.md
application.rb
config.ru
crawl-ipv4.sh
crawl.sh

README.md

Service Oriented Architecture in Practice

Construct static HTML site from markdown files.

Instructions

Clone service-oriented-architecture-in-practice-book markdoen files (from folder service-oriented-architecture-in-practice-online)

$ cd ..
$ git clone https://github.com/shhavel/soabp-book.git

Copy markdown files into folder views from ../service-oriented-architecture-in-practice-book

$ mkdir views/en-ruby/ views/uk-ruby/ views/ru-ruby/
$ cp ../service-oriented-architecture-in-practice-book/en-ruby/* views/en-ruby/
$ cp ../service-oriented-architecture-in-practice-book/uk-ruby/* views/uk-ruby/
$ cp ../service-oriented-architecture-in-practice-book/ru-ruby/* views/ru-ruby/

Install gems

$ bundle install

Run sinatra application (from root folder in terminal):

$ rackup -p 4567

Bypass all site pages to generate cached HTML files.

$ bash crawl.sh

Use HTML files from folder public.

Links

You can’t perform that action at this time.