iamtrask / Sonar

DEPRECATED - Decentralized Machine Learning Server (hosted on Blockchain)
Apache License 2.0
141 stars 49 forks source link

:star2: feat: build scripts & Dockerfile for testrpc #7

Closed anoff closed 6 years ago

anoff commented 6 years ago

Closes #5

What's missing to solve it, is to automate the build itself via CI and come up with an idea how the unique Sonar address can be documented/provided. Currently the address still has to be retrieved manually from the init_testrpc.sh stdout stream during the truffle migrate step. Just watch out for the line saying ModelRepository: 0x.....

anoff commented 6 years ago

I added a line in the Readme and as far as I can tell each build will keep the same contract address. Unless we change the --seed value :)