- an instance of postgres(v9.3+)
- an instance of a node that supports Ethereum's RPC interface
- a configuration file(generally
The configuration file must at least specify the fields listed in the .env example file.
Build Via Docker
Once you have Docker installed on your machine, just pull down the image and run it:
docker pull smartcontract/smartoracle docker run -t --env-file=.env smartcontract/smartoracle
If you want to develop an adapter or do other custom development it may be easier to build the app from scratch and run it locally, instead of via a container.
In addition to the above requirements you will need:
Pull the down the code, install dependencies, and set up your database:
git clone https://github.com/smartoracles/core-ruby smartoracles-core && cd smartoracles-core gem install bundler bundle rake db:create db:migrate
Start the node: