Free, open source and cross-platform finance application
First install mariadb
Set ENV, MYSQL_DATABASE=your_db_name
, MYSQL_ADDRESS=localhost
, MYSQL_USERNAME=root
, MYSQL_PASSWORD=your_password
, MYSQL_PORT=3306
Install sql-migrate, run go get -v github.com/rubenv/sql-migrate/...
Migrate tables, run sql-migrate
Database seeding, run sql-migrate -env=seed
Run cp .env.example .env
and insert your env
Install glide, run curl https://glide.sh/get | sh
Install packages, run glide install
Run go build
and ./core
Run go test
Run sql-migrate your_mgirate_title
to generate a new migrate file in ./migrations
.
Run sql-migrate your_seed_title -env=seed
to generate a new seed file in ./seeds
.