gmsoft / tania-core

The future of Tania farm management system is here.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tania

Gitter chat

Tania is a free and open source farming management system for everyone. You can manage your areas, reservoirs, farm tasks, inventories, and the crop growing progress.

To get the stable release, you can clone from the master branch or from the release tab.

Requirement

  • Go v1.9
  • Vue 2.x
  • Node 8.9.x

Installation

  • Make sure you have installed golang/dep
  • Clone the repo using go get github.com/Tanibox/tania-core
  • From the project root, call dep ensure to install the Go dependencies
    • If you have an issue with dep ensure, you can call go get instead.
  • Create a new file conf.json using the values from the conf.json.example and set it with your own values.
  • Call npm install to install Vue dependencies
  • Call npm run dev to build the Vue
  • Setup SQLite:
    • Edit SqlitePath in conf.json to your sqlite DB file path (ex: /Users/user/Programs/sqlite/tania.db)
    • Create empty file with the exact filename and path that match the SqlitePath config.
  • Run the Go server using go run main.go and open it in the http://localhost:8080
  • Default username and password are tania / tania

Test

  • Call go test ./... to run all the Go tests.
  • Call npm run cypress:run to run the end-to-end test

License

Tania is available under Apache 2.0 open source license.

About

The future of Tania farm management system is here.

License:Apache License 2.0


Languages

Language:Go 72.6%Language:Vue 16.3%Language:JavaScript 9.4%Language:CSS 0.7%Language:HTML 0.6%Language:Shell 0.2%Language:Makefile 0.1%Language:Ruby 0.0%