Skip to content

Let Vagrant build an Ubuntu machine to use Geth, Testrpc and Truffle.

Notifications You must be signed in to change notification settings

rgazo/truffle-vagrant-env

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Truffle (Ethereum) dev vagrant box

  • Contains Solc compiler, Ethereum, testrpc, Truffle

Setup

  • Create a DAPPS folder in ~ (it will be synced to /home/vagrant/DAPPS)
> cd ~
> mkdir DAPPS
  • Get the vagrant box:
> git clone https://github.com/rgazo/truffle-vagrant-env.git
  • Start the vagrant box and log in
> cd truffle-vagrant-env
> vagrant up
> vagrant ssh
  • Crate your first DApp
> cd DAPPS
> mkdir first
> cd first
> truffle init

This will create a test project using Truffle framework with some demo contracts (check out the newly created folders).

In a separate window log in to vagrant

> vagrant ssh

Start testrpc

> textrpc

Here you will see what your contracts ar doing.

You can deploy the truffle demo (MetaCoin) or delete the demo and create your own contracts. To deploy:

> truffle deploy

Switch to the testrpc window to see what is happening on the Ethereum test client.

Read

About

Let Vagrant build an Ubuntu machine to use Geth, Testrpc and Truffle.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%