Project

mr_hyde

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Mr. Hyde lets you generate and manage as many sites as you want, something similar like Medium. It's based on Jekyll.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 8.2.2
>= 5.8.4, ~> 5.8
>= 1.1.7, ~> 1.1
~> 1.6.7
>= 0
~> 10.0

Runtime

>= 3.1.1, ~> 3.1
>= 0.3.5, ~> 0.3
 Project Readme

Gem Version

Mr.Hyde logo

# MrHyde Mr. Hyde lets you generate and manage as many static sites as you like, all nested from a parent site, for example, you can have several nested sites sharing the same assets than parent site and other nested sites with its own assets.

All this works thanks to Jekyll tool, in fact Mr. Hyde wraps Jekyll so if you know Jekyll there is no much to learn about Mr. Hyde.

The current version is based on Jekyll 3.1.1.

Installation

Add this line to your application's Gemfile:

gem 'mr_hyde'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mr_hyde

Usage

In order to use Mr. Hyde the first thing you must do is creating the Mr. Hyde root folder using the next command:

$ mrhyde new [NAME]

The previuos command creates the basic structure folder within the new folder NAME, in case the name is not provided then the same folder will be used.

Once created cd the Mr. Hyde root folder (or the same if no NAME was given) and you can execute the next commands:

$ cd PATH
$ mrhyde site new SITE_NAME
$ mrhyde site build SITE_NAME

The above commands give you first site, by now if you want to run on a server get in the site/SITE_NAME and executes:

$ cd root_folder/site/site_name
$ jekyll serve

If you want to know more about this, please refer to Jekyll.

Removing the built site is:

$ mrhyde site rm SITE_NAME
$ mrhyde site rm SITE_NAME --full

The last command with the --full option removes the site source as well, so take care with this option.

You can see more information about the commands with the command line --help option:

$ mrhyde site new --help

Contributing

  1. Fork it ( https://github.com/[my-github-username]/mr_hyde/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request