Update documentation for releases.

This commit is contained in:
Luke Murphy
2017-10-04 16:07:32 +02:00
parent 99c2470a84
commit b120b6b679
2 changed files with 75 additions and 40 deletions

62
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,62 @@
# Contributing
# What Is Jekyll
For those unfamiliar with how Jekyll works, check out [jekyll.rb] for all the
details, or read up on the basics of [front matter], [writing posts] and
[creating pages].
[jekyll.rb]: https://jekyllrb.com/
[front matter]: https://jekyllrb.com/docs/frontmatter/
[writing posts]: https://jekyllrb.com/docs/posts/
[creating pages]: https://jekyllrb.com/docs/pages/
# Using RVM to Manage Ruby
In order to not blow up your computer handling a system wide Ruby installation, it is
advised that you use [RVM](https://rvm.io/rvm/install).
Once you've got that installed and configured, get the latest version of Ruby with:
```bash
$ rvm install 2.4.2
```
Select that version and then create an isolated [gemset](https://rvm.io/gemsets/basics) with:
```bash
$ rvm use 2.4.2
$ rvm gemset create autonomic
$ rvm gemset use autonomic
```
# Install Dependencies
Then you can get your Ruby dependencies installed with:
``` bash
$ gem install jekyll bundler
```
# Serve Website
And serve the website locally with:
``` bash
$ jekyll serve
```
# Editing Content
You can edit content in the `.md` files under `src` and `src/_posts`.
# Manage Gemset
When you're hacking later on (or in a new shell), you'll need to run:
``` bash
$ rvm use 2.4.2
$ rvm gemset use autonomic
```
And then you'll have access to the environment.