Installing Ruby Static Pro

Installing Ruby Static Pro and getting up and running is easy.

  1. Clone Ruby Static Pro:
    git clone [email protected]:rubystaticpro/rubystaticpro.git my-static-app
    cd my-static-app
    git remote rename origin rubystaticpro
    
  2. Run npm install
  3. Run bundle install
  4. Run bundle exec middleman serve or bundle exec middleman build

Your app will now be running on the default port 4567, via localhost:4567

Updating the Site Name

Open the config.rb file and update the site name, description and host values:

set :site_name, "Ruby Static Pro"
set :site_description, "The Ruby static site generator template for blogs, personal sites, sales/marketing sites & more. Fast. Flexible. Fantastic."
# Domain to use for build or for dev
set :domain, build? ? "demo.rubystaticpro.com" : "localhost:4567"

Save the file and your site should now use the proper name and description in the site header, open graph/x cards/etc.

Updating the Default Open Graph Image

Until otherwise updated, the default open graph image will show. This image is located at /images/og/open-graph.png. You will want to update it.

Learn more about the Open Graph tags here