Git Product home page Git Product logo

knowledge-base's Introduction

This repository contains tutorials of RunAbove Knowledge base.

How to write a how-to guide?

Simply fork the runabove/knowledge-base project on our GitHub page. Create a new page under /en/_posts and using markdown to write your how-to guide. Please refer to the metadata in existing guides so that you add adequate metadata at the beginning of your guide. Feel free to create a folder for your images in /images.

Please note that we may not accept your how-to guide if it doesn’t fit our review criteria. Here is a list of some of the main points we’ll take into account:

  • Your guide is written in English.
  • Any prerequisites for carrying out the steps in the guide are listed in your guide’s intro.
  • Any usage you encourage is completely legal and respects good practices and security standards.
  • Content is your own and doesn’t include any copyrighted content (including images). Your proposal should be exclusively published on our website.

Please also keep in mind that we’re mainly interested in how-to guides on open-source tools and integration with popular tier technologies.

Quick start your new tutorial:

Create your tutorial

Fork runabove/knowledge-base repository and get the content on your machine.

git clone https://github.com/your_github_username/knowledge-base.git

Add a file inside posts directory with this template:

---
layout: post
title:  "My first tutorial"
categories: Instances
author: your_github_username
lang: en
---

# Here you can add your tutorial

With markdown syntax.

Test your tutorial

With Docker (recommended)

The easiest way to test how your guide renders on RunAbove website is to build and run the Docker container.

docker build --tag runabove-kb .
docker run --rm -ti -p 4000:4000 runabove-kb

You can now point your browser to http://localhost:4000/kb/ and see how it looks.

Installing Jekyll

To deploy tutorials on runabove, we use a ruby tool called Jekyll. You can find more informations about Jekyll installation inside the official documentation. Get it up and running:

curl -sSL https://get.rvm.io | bash -s stable --ruby=1.9.3 --autolibs=fail
curl https://raw.githubusercontent.com/creationix/nvm/v0.25.1/install.sh | bash
nvm install 0.10
nvm use 0.10
source ~/.bashrc
gem install bundler
bundle

Inside root directory of the project, you can run this command to generate the website and see your guide:

bundle exec jekyll build

You website is now inside _site directory.

You can also run this command to have jekyll serve your static pages :

bundle exec jekyll serve

When you’re done, open a pull request for your fork. We'll review it as soon as possible!

Got a great idea? Fork us now!

knowledge-base's People

Contributors

berpj avatar brouberol avatar clabman avatar davidtoneill avatar devatoria avatar dralletje avatar drofawesomeness avatar e-ravel avatar gierschv avatar guillaumebreton avatar jeancharles-roger avatar jehuty0shift avatar k2v avatar kaiz0ku avatar maertems avatar ne0ark avatar nicolaslm avatar pdepaepe avatar peache41 avatar pierreatovh avatar rmopl avatar sebgl avatar swallez avatar thbkrkr avatar thcdrt avatar thomas-maurice avatar vincentcasse avatar yadutaf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

knowledge-base's Issues

How to create a custom image - how-to

https://github.com/runabove/knowledge-base/blob/master/en/_posts/2014-05-16-how-to-create-a-custom-image-for-runabove.markdown

I think it's worth to mention which version of qemu was used in this tutorial. It took me a while to understand that my OS X qemu package (also freebsd package) was to old to apply described script/commands as it is. So if someone is using FBSD as a host, package qemu-devel should be installed (v2.2.0) and not 'qemu' (which is v0.11).

Also, it would be nice to see a note related to FreeBSD (and perhaps other *BSD based systems) that networking won't work out of the box without additional script - since gateway and network interface IP are in different subnets (/etc/rc.local):

GW=$(cat /var/db/dhclient.leases.vtnet0 | grep routers | cut -d" " -f5 | uniq | sed "s/;//")

route add -net "${GW}/32" -iface vtnet0
route add default "${GW}"

Also just to be sure that everything will work (in scenario when one wasn't using virtio based hardware when configuring machine), it's good to remove /var/db/dhclient* before deploying image to avoid getting wrong gateway address.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.