Name: be-oi.be-OUTDATED-
Owner: beOI ASBL/VZW
Description: Main beOI hub website [NOT USED SINCE 08/2017]
Created: 2015-09-10 18:33:45.0
Updated: 2017-08-03 05:19:05.0
Pushed: 2017-02-13 13:25:18.0
Homepage: http://www.be-oi.be
Size: 1338
Language: CSS
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Using Middleman for static website generator.
Prerequisite: Ruby and bundler.
People that have never worked with Ruby before and work on MacOS X may first want to follow these instructions. MacOS X comes with a Ruby installation, however, installing gemfiles results in a permission error unless sudo is used. Since that is generally a bad idea, it's better to have a Ruby installation somewhere in userspace. Here's how to:
brew install rbenv ruby-build
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
rbenv install -l
will show a list of packages. Find the latest 2.x.x
rbenv install 2.2.3
(or whatever the latest version is)rbenv global 2.2.3
rbenv rehash
gem update ?system
gem install middleman
gem install bundler
In the project directory, install required package:
bundle install
Launch the (auto-reload) web server:
bundle exec middleman server
Install EditorConfig for your favorite editor to enforce the formatting rules of source files.
To build:
bundle exec middleman build
To deploy on S3 (requires AWS credentials in .s3.sync
in the yaml format):
bundle exec middleman s3_sync