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.
- Go v1.9
- Vue 2.x
- Node 8.9.x
- 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 callgo get
instead.
- If you have an issue with
- Create a new file
conf.json
using the values from theconf.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
inconf.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.
- Edit
- Run the Go server using
go run main.go
and open it in thehttp://localhost:8080
- Default username and password are
tania / tania
- Call
go test ./...
to run all the Go tests. - Call
npm run cypress:run
to run the end-to-end test
Tania is available under Apache 2.0 open source license.