Tania is farm management system to help farmers to manage their farm.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Add app_port config for configurable backend port Jul 27, 2018
db Add missing mysql DB in auth server Jul 11, 2018
docs Create CNAME Apr 5, 2018
jsonschema Fix farm jsonschema Jan 2, 2018
postman Update postman Mar 16, 2018
resources Fix frontend redirect_uri to use current host name Jul 27, 2018
scripts adding echo in build script for debugging Mar 20, 2018
src Add unescape redirect uri Aug 24, 2018
uploads Add nprogress and set photo area Jan 9, 2018
.babelrc Implement ui farm services Dec 29, 2017
.editorconfig Bootstraping project Dec 13, 2017
.gitignore Add .travis.yml to .gitignore Apr 2, 2018
.ruby-version Adding gemfile and yarn lock for locking versions Dec 28, 2017
CHANGELOG.md Add app_port config for configurable backend port Jul 27, 2018
Gemfile Adding gemfile and yarn lock for locking versions Dec 28, 2017
Gopkg.lock Change config to use viper because paked/configure cannot have slice … Jul 27, 2018
Gopkg.toml Change config to use viper because paked/configure cannot have slice … Jul 27, 2018
LICENSE Initial commit with some interfaces. Nov 11, 2017
Makefile Adding OSX cross compiler with MacOSX 10.11 SDK Jan 25, 2018
README.md Update README.md Apr 13, 2018
conf.json.example Add app_port config for configurable backend port Jul 27, 2018
cypress.json Disable chrome web security on testing Jan 20, 2018
main.go Add app_port config for configurable backend port Jul 27, 2018
package.json Adding Toast to handle back-end errors Mar 7, 2018
test.file Test commit Mar 8, 2018
webpack.config.js Added intro page Jan 8, 2018
webpack.mix.js Fix frontend redirect_uri to use current host name Jul 27, 2018
yarn.lock Undo commit file and rebase Jan 29, 2018

README.md

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.