Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Members / jhb / Setting up the dev environment

Setting up the dev environment

How to setup a dev environment in which at least the issuer runs

WARNING! The text is outdated - the repository has been moved to github: https://github.com/OpenCoin/opencoin-historic


First, create a directory for the project

mkdir opencoin
cd opencoin

Checkout oc2 and simplejson

svn co svn://svn.opencoin.org/svn/opencoin/trunk/sandbox/jhb/oc2
svn co svn://svn.opencoin.org/svn/opencoin/trunk/sandbox/jhb/simplejson

Link simplejson into the oc2 directory

cd oc2
ln -s ../simplejson

Modify testissuer.py to suit your requirements (especially the line 26, setting the name of your currency and the url)

vim testissuer.py

Run the issuer (first startup might take 30 seconds)

python testissuer.py

You can now use that url/port to add a currency to your wallet. Have fun!

 

Add comment

You can add a comment by filling out the form below. Plain text formatting. Comments are moderated.

Question: What is 10 + 4 ?
Your answer: