A virtual machine box with compiled steem source code

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@feelapi·
0.000 HBD
A virtual machine box with compiled steem source code
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 编译教程](https://steemit.com/cn/@abit/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](https://github.com/feelapi/steem.vagrant). You can use it to create the box from scratch, or you can use the [cooked box](https://atlas.hashicorp.com/feelapi/boxes/steembox/).

## About Vagrant Box

![vagrant logo](https://www.hashicorp.com/images/blog/a-new-look-for-vagrant/logo_wide-fbb6c6e8.png)

If you know it, please skip to next part. 

[Vagarant](https://www.vagrantup.com) is a great software. It is a computer software that creates and configures virtual development environments([from wikipedia.org](https://en.wikipedia.org/wiki/Vagrant_(software))).

[This tutorial](https://www.vagrantup.com/docs/getting-started/)  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.

* git clone https://github.com/feelapi/steem.vagrant.git vm
* cd vm
* vagrant up

### 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/](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:

* [Step by step instructions to start a private testnet](https://steem.io/documentation/how-to-start-a-testnet/)
* [interact with wallet over JSON-RPC](https://steem.io/documentation/how-use-wallet-via-json-rpc-over-http/)
* anything you like!

![codeb4fd3.jpg](https://www.steemimg.com/images/2016/07/27/codeb4fd3.jpg)

Thanks [steemit.com/@abit](https://steemit.com/@abit) for your post. Any comments are welcome.
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,