Git Product home page Git Product logo

openfarm's Introduction

OpenFarm

Coverage Status Code Climate OpenCollective OpenCollective OpenFarm Gitten

OpenFarm

OpenFarm is a free and open database and web application for farming and gardening knowledge. One might think of it as the Wikipedia or Freebase for growing plants, though it functions more like a cooking recipes site. The main content are Growing Guides: creative, crowd-sourced, single-author, structured documents that include all of the necessary information for a person or machine to grow a plant, i.e.: seed spacing and depth, watering regimen, recommended soil composition and companion plants, sun/shade requirements, etc.

Other use cases: a mobile app for home gardeners, Google providing “One Box” answers to search queries such as “How do I grow tomatoes?”, smart garden sensors, automated farming machines.

Core Contributor Group

If you have any quick questions, ask them on IRC on Freenode #openfarmcc. If the room looks empty it's because our core team uses Slack, we have a bot piping messages back and forth - read on if you want to join that!

Sign up to our Slack room! We strongly recommend joining this group if you want to get involved and meet the other contributors.

Community Discussion Group

To discuss features, feature requests, and ideas, and to interface with our users at large (and contributors not on GitHub), please check out our public discussion forum.

Development

Getting Started (The Easy Way)

You should use Vagrant to get the OpenFarm system running on your computer. It will avoid having to install the things listed in The Hard Way below. Read more on our blog.

  1. Install Vagrant.
  2. Install VirtualBox.
  3. Open your terminal.
  4. $ git clone https://github.com/openfarmcc/OpenFarm.git - this tells your computer to fetch the data stored in this repository using git.
  5. $ cd OpenFarm - change to the OpenFarm directory
  6. $ vagrant up This will take a long time. We're downloading a whole bunch of stuff. Go make yourself a pot of coffee, or brew some tea. If something goes wrong at this point, reach out to Simon directly at slack.openfarm.cc.

Accessing Vagrant.

Once Vagrant is set up on your system, you might want to actually access it. For example, if you want to start up the server (though vagrant up should run rails s for you):

  1. $ vagrant ssh - this makes you access the new virtual server we just created to run OpenFarm on.
  2. cd /vagrant - the vagrant directory is mirrored in your own computer. If you add a file there, you'll see it appear here.
  3. rails s - actually run the Rails server!
  4. you should now be able to access OpenFarm on your local system at http://localhost:3000. If all went well, you will have a seeded database and can use the account [email protected] with password admin123.

The above is still being patched, so please reach out to us if something went wrong!

Getting Started (The Hard Way)

You will need to install Ruby, Rails, ElasticSearch, and Mongodb before you can get an OpenFarm server up and running on your local machine. Once you have these prerequisites to get started with a local copy of the project, run:

$ git clone https://github.com/openfarmcc/OpenFarm.git
$ cd OpenFarm
$ bundle install
$ rake db:setup
$ echo "ENV['SECRET_KEY_BASE'] = '$(rake secret)'" >> config/app_environment_variables.rb
$ rails s

Then, visit http://127.0.0.1:3000/ in your browser to see the OpenFarm web application running on your local machine. If all went well, you will have a seeded database and can use the account [email protected] with password admin123.

Remember that /vagrant folder in the Vagrant VM is largely for convenience, and working in it can cause unexpected behavior with other tools - you should do your work in your own non-vagrant environment. Use the environment you're most familiar with to program, and Vagrant will do the rest.

If you had any problems installing bundles getting up and running etc see the Common Issues Page.

How to Contribute

Help us translate the website.

For code, have a look at our contribution guidelines.

Want to see the big picture? We have a project roadmap for that!

FAQ

Have a look at the FAQ for some frequently asked questions about contributing (Angular, Issue Trackers, IRC Channels).

User Flow

![User Flow Diagram] (http://i.imgur.com/YowIq1N.jpg)

![Information Architecture Diagram] (http://i.imgur.com/qZzF4OZ.jpg)

Mockups

To view the most recent mockups, click here.

Contributors

We encourage everyone to contribute! From newbies, to pros, to people who don’t write software, to those with just a few ideas to share — we greatly appreciate everyone’s input and are happy to help you help us. We strive for diversity on our team and are dedicated to making a safe space and community for everyone. To help us ensure this, We have created and adopted a Code of Conduct.

Here are our current contributors here on GitHub. But that's just people who contribute code. There's a whole host of people who contributed financially, and people contribute guides on the actual website too!

Core Contributors

If you've made two PRs, we'll add you as a core contributor.

For core-code contributors: here are a few basic ground-rules:

  • No --force pushes or modifying the Git history in any way.
  • Non-master branches ought to be used for ongoing work.
  • External API changes and significant modifications ought to be subject to an internal pull-request to solicit feedback from other contributors.
  • Internal pull-requests to solicit feedback are encouraged for any other non-trivial contribution but left to the discretion of the contributor.
  • Contributors should attempt to adhere to the prevailing code-style.

(based on the OPEN open source model)

Further reading

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

Software License

The MIT License (MIT)

Copyright (c) 2014 Farmbot Project, et. al. (http://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.

Data License

All data within the OpenFarm.cc database is in the Public Domain (CC0).

openfarm's People

Contributors

simonv3 avatar rickcarlino avatar warpling avatar tansa05 avatar roryaronson avatar clockwerx avatar thechirpywitch avatar racefpv avatar md5 avatar kelcecil avatar speizerj avatar digital-dreamer avatar guitsaru avatar cynaria avatar pnob32 avatar mo22de avatar robbrit avatar rickr avatar cpursley avatar ignaciots avatar vincentdc94 avatar dedesite avatar dnephin avatar jakewins avatar rjmccluskey avatar erisfully avatar jumbosushi avatar bitdeli-chef avatar davidmgross avatar joshlemer avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.