OpenFarm (OpenFarm.cc) is a free and open database for farming and gardening knowledge. One might think of it as the Wikipedia or Freebase for growing plants. The data is crowdsourced and includes all of the necessary paramaters for a machine or human to successfully grow a plant, ie: seed spacing and depth, water regimen, recommended soil composition and companion plants, sun/shade requirements, etc.
This project is closely related to the FarmBot project but also distinctly separate. OpenFarm is a standalone database that will simply provide data to other applications. For FarmBot, OpenFarm will supply the default settings to grow a plant when a user selects it in the graphical FarmBot frontend.
OpenFarm will also have a web frontend of its own to allow anyone to access the data and make contributions.
Examples of other applications using OpenFarm: a mobile application for home gardeners, Google providing "One Box" answers to search queries such as "How do I grow tomatoes", Wolfram Alpha displaying the data for "growng tomatoes" which is also showed to users asking Siri on iDevices, etc.
![User Flow Diagram] (https://i.imgur.com/YowIq1N.jpg)
![Information Architecture Diagram] (https://i.imgur.com/qZzF4OZ.jpg)
To view the most recent mockups, click [here] (https://drive.google.com/open?id=0B-wExYzQcnp3cVZvZ3JXb3FDZTg&authuser=0)
You will need Ruby, Rails and Mongodb installed. To get started with a local copy of the project, run:
$ git clone https://github.com/FarmBot/OpenFarm.git
$ cd OpenFarm
$ bundle install
$ rake db:setup
$ rails s
OpenFarm supports OAuth through Facebook and Twitter, however you have to enable it yourself.
For Twitter, you need to set the TWITTER_CONSUMER_KEY
and TWITTER_CONSUMER_SECRET
environment variables before starting the server:
export TWITTER_CONSUMER_KEY=my-consumer-key
export TWITTER_CONSUMER_SECRET=my-consumer-secret
rails s
For Facebook it is the same way, except the fields are FACEBOOK_APP_ID
and FACEBOOK_APP_SECRET
.
- Fork this repo.
- Fix stuff, add features.
- Send pull request to master.
Not sure where to help? Take a look over here.
https://github.com/FarmBot/OpenFarm/graphs/contributors
The MIT License (MIT)
Copyright (c) 2013 Farmbot Project, et. al. (https://go.farmbot.it/)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The data within the OpenFarm.cc database is licensed under the Creative Commons Attribution 4.0 International License