Slides and assets for the Blockchain workshop [first presented at Toronto Ruby Hack Night, August 4, 2016]
Workshop for learning Blockchains and Bitcoins
Created by David Andrews
Slides for the workshop are here:
https://gnab.github.io/remark/remarkise?url=https://raw.githubusercontent.com/k00ka/bitcoin/master/SLIDES.md
###Introduction
This project is a simple Ruby project.
We have provided a repository which mimics the setup we often use, so it should be familiar. The code to be created is found in the lib/
directory.
###Setup
Here are the steps to get you started with the repo.
- For this workshop, you will need a laptop with the following:
- Ruby 2.x
- A github account
Note: We have included a.ruby-version
file locked to 2.2.3, which you can change to any Ruby 2.x version if you don't have 2.2.3 installed
More detailed instructions for each platform are included in the footer. Refer there if you are having issues.
-
Fork the repo (optional, recommended): From the page https://github.com/k00ka/bitcoin, click the Fork button in the top-right corner. Copy the new repo address (in a box just below the thick red line) into your clipboard. Detailed instructions on forking a repo can be found here: https://help.github.com/articles/fork-a-repo/
-
At Ryatta Group we use rbenv, and so we've included some optional elements - just skip them if you're using rvm or are not versioning your Ruby. If you forked the repo above, your repo_address will be in your clipboard. If not, you should use my repo_address
[email protected]:k00ka/bitcoin.git
% git clone <repo_address>
% cd bitcoin
% gem install bundler
Fetching: bundler-1.7.4.gem (100%)
Successfully installed bundler-1.7.4
1 gem installed
% bundle
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Installing rake 10.3.2
...
Using bundler 1.7.4
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
Note: if you use rbenv...
% rbenv rehash
You are (almost) there!
- If you're keen, have a look at the source to prepare.