core

command module
v0.0.0-...-6284027 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2019 License: AGPL-3.0 Imports: 21 Imported by: 0

README

HeasbFun - core

Build Status Docker codecov Go Report License

Free, open source and cross-platform finance application

After clone

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 up

Database seeding, run sql-migrate up -env=seed

Database seed test data, run sql-migrate up -env=test

Run cp .env.example .env and insert your env

Install glide, run curl https://glide.sh/get | sh

Install packages, run glide install

Build

Run go build and ./core

Running tests

Run go test

Code scaffolding

Run sql-migrate your_mgirate_title to generate a new migrate file in ./migrations.

Run sql-migrate -env=seed your_seed_title to generate a new seed file in ./seeds.

Run sql-migrate -env=test your_test_title to generate a new seed file in ./seed_test.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL