Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.1 KB

README.md

File metadata and controls

60 lines (39 loc) · 1.1 KB

Hubble-Project

Watch your assets move at light speed!

The hubble project is a framework to create programmable rollups with mass migration capabilities.

Build

$ make build

Install MySQL

You can either install MySQL locally or use docker.

$ docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=<your-password> -d mysql

You might also want to install a GUI to view the database changes as we dont have a explorer yet.

$ docker run --name myadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin

Initialise configration

$ make init

In config.toml you need to change the key db_url with your correct password

db_url="mysql://root:<your-password>@/testing?charset=utf8&parseTime=True&loc=Local"

In config.toml you also have various params for entering ethereum RPC's and contract address, do check it out!

Run migrations

$ ./build/hubble create-database --dbname=hubble
$ make migrate-up

Reset DB

$ make migrate-down

Start hubble

$ make start

You can view logs at logs/node.log