A virtual machine box with compiled steem source code

Words
328
Reading
2 min
Listen
Play
10y

These days, I'm very excited to play on steemit.com. As a developer, it's natural to check the source code of steem. But I was frustrated when I can not compile the code.

I think it's not just me. Many of you want to get a compiled version in your machine. After many time that switch between different version of Ubuntu, boost and other libraryies I failed. Then I found this post(in Chinese) Ubuntu 下 Steem 编译教程. Wow. I make it. After half an hour, I got a compiled version of STEEM!

But this is not enough. I wanna share my experience to help more developers. So I decided to create Vagrant Box, which you can use it freely on many operation systems, windows, mac, ...etc.

I create a github project:steem.vagrant. You can use it to create the box from scratch, or you can use the cooked box.

About Vagrant Box

vagrant logo

If you know it, please skip to next part.

Vagarant is a great software. It is a computer software that creates and configures virtual development environments(from wikipedia.org).

This tutorial is a good start point to learn vagrant.

Steem.Vagrant project.

The box is based on virtualbox 5.0. And also you need vagrant 1.8.5. Here are two options:

Option 1: Setup your own box

This is for advanced user who need to make their own box and add more features.

Option 2: Cooked box

This option for busy developers, who can use the virtual machine immediately. The box will be downloaded from https://atlas.hashicorp.com/. It may be time consuming because the box is almost 900M bytes.

  • mkdir vm
  • vagrant init feelapi/steembox
  • vagrant up

Next

Now you have a virtual machine that can run a steem node. Many things you can do:

codeb4fd3.jpg

Thanks steemit.com/@abit for your post. Any comments are welcome.

A virtual machine box with compiled steem source code | Ecency