Coder Social home page Coder Social logo

openfarmcc / openfarm Goto Github PK

View Code? Open in Web Editor NEW
1.5K 1.5K 234.0 85.3 MB

A free and open database for farming and gardening knowledge. You can grow anything!

Home Page: https://OpenFarm.cc

License: MIT License

Ruby 32.71% JavaScript 20.73% HTML 24.62% CSS 0.12% Shell 0.22% Dockerfile 0.15% SCSS 21.43% Procfile 0.01%
farming gardening open-source plants rails

openfarm's People

Contributors

br3nda avatar broder avatar clockwerx avatar code-factor avatar cpursley avatar cynaria avatar dependabot-preview[bot] avatar dependabot[bot] avatar digital-dreamer avatar gabrielburnworth avatar guitsaru avatar ignaciots avatar katy310 avatar kelcecil avatar md5 avatar mo22de avatar nickedwards109 avatar pnob32 avatar racefpv avatar rickcarlino avatar rickr avatar robbrit avatar roryaronson avatar roselynemakena avatar simonv3 avatar sophiakc avatar speizerj avatar tansa05 avatar thechirpywitch avatar warpling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openfarm's Issues

skype/irc group

Can we get a group of active devs together on hipchat, skype, irc or something to bounce questions/ideas/current tasks around?

Iconography

I'm seeing all sorts of icons on a bunch of pages. Can we put all of those together in a font so that they're easily re-usable, easily accessible, etc?

IcoMoon does this as a service for free, as long as we have vector graphics to put it up.

Regular updates

As we head into the realm of a constantly updating project, we probably need a blog and email list with regular (bi-weekly?) updates about the project and where it's headed. We can use some service like tumblr for a quick blog, and probably something like mailchimp (first 2000 emails free per week), or sendy when we get beyond that.

Being in regular touch beyond kickstarter is important I reckon, and we need a way to contact people who aren't in the mood to pay for kickstarter.

Split application into client side & server side

[enhancement] Just saw the new OpenFarm mockups on kickstarter and wold like to get involved.

The new UI looks fairly sophisticated. I suggest splitting OpenFarm into a client side & server side application - or at minimum, use a js framework instead of rails views. Anyone open to Angularjs?

Consider using Angular JS for the front-end

Would you guys consider using a client-side framework like angular js instead of using server generated pages? Yeoman (yo, bower, grunt) is a nice front-end tool suite that could help stream line the process.

Architecture

Hello! I was wondering if there had been a discussion of architecture yet? I saw that the repo was setup with PHP. I personally don't know PHP, so I had imagined using Rails or a JS MV* sort of framework for myself and to help keep things in-line with the other side of the project slash make it approachable to everyone on the project.

As I said, I don't know PHP so I could be missing out on its advantages, but I think Rails would especially lend itself well to this project, especially to get things up as quickly as possible. Just my two ¢ents!

Missing flash / alert section at top of layout.

I was installing Devise this morning and noticed we don't have an alert / notice section on our layout. I put one in with some

tags for now (devise requires it), but we will need to style it at some point. Leaving this issue here as a reminder.

Hardiness / Heat Zone / Growing degree days

I saw USDA hardiness and AHS heat zones mentioned in the Guide wireframe so I thought I'd bring it up for discussion.

USDA hardiness zones are a mostly U.S. specific metric (some other systems are in use to model climate factors in other countries like Australia and Canada) based on minimum winter temperatures and give a very approximate indication of the ability for a plant to survive in a given climate. It does not indicate a plant will prosper and because it only measures minimum winter temperatures, locations with similar winter temperatures but different summer temperatures will be given the same hardiness zone. Nonetheless it's a useful indicator when used appropriately especially for perennial plants like fruit trees. For the most part, it's irrelevant for annual crops where summer temperatures are usually the most important metric.

AHS heat zones give the average number of days a particular location experiences temperatures of over 30ºC. It's a proprietary system with, to my experience, almost no practically useful data available. Most flowering plants do not mature any faster over 30ºC, so I'm not sure why this metric exists.

Growing degree days are a cumulative tally of hours of average daily temperatures. They can be used very reliably (and is used in industrial agriculture) to indicate when a crop will flower, when fruit will mature, etc. There is a decent amount of data available for various species and specific varieties commonly grown in industrial agriculture, but not much data available for less common garden crops. It's relevant to growers in both indoor/controlled and outdoor environments.

In short, I think OpenFarm should definitely include USDA hardiness zones where possible, with some way to clearly indicate it's only relevant in regards to minimum temperatures, and absolutely include a growing degree days value where data is available, ideally with a way to educate people on this system and provide them with information on the average growing degree days in their area, since it's mostly unknown to hobby/small gardeners.

Flesh out UX/UI before continuing development

Getting the project up an running, it is not entirely clear what the purpose is. Does anyone have thoughts on the UI features? Is a CSS framework alright like Bootstrap or Foundation? Any preferences?

Install Google Analytics

I created an analytics account, here is the code that needs to go in every web page we want to track:

<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-54082196-1', 'auto'); ga('send', 'pageview'); </script>

Style Tiles

I want to start defining the visual style for open farm, as I'm coming across several places where I'm deferring to the Foundation styles, and I'm not sure that's a good thing long run.

Example:

http://style.codeforamerica.org/ (the styles here would just power the entire site).

Creating Guides Wireframes

I've been taking some steps to think about the creating guides steps.

Here's an initial design (bonus - also exploring a visual direction for openfarm).

Here's my reasoning for splitting things into a couple of steps:

Steps 1 & 2 are gathering basic information from the user, stuff we want them to definitely include in a guide.

Step 3 I was seeing similar to how you mentioned seeing it @roryaronson. The box could expand in width, and start looking like the actual guide. I like the idea of consistency there, but that might be something we need to try and actually build, and see how it works in action (this is one of the reasons I want to try VWO). The current edit page is actually a step towards that - pretty WYSIWYG.

I'll explore that a bit and show it here when I'm done with it. I'd love feedback/input on visual style as well - don't consider myself a visual designer at all.

Information Architecture

Heya folks, I've just had a look at the Drive, and can't seem to find an over-arching information architecture for the site.

From discussions on this site it looks like people have a fairly strong understanding of how the site will be built, and what the structure would look like, but in the interest of making sure that everyone is on the same page, and making it easy for newbies to jump in, I was wondering if such an IA should be put together, talked about, etc.

I'm happy to put what I understand into a diagram, and see if people agree, but wanted to make sure that something similar didn't already exist.

Guide model architecture

Hey all, wondering what structure everyone is imagining for the Guide models. As far I understand things so far, Crops have many guides and guides belong to a User. Guides can be grouped via a common crop name (eg. "Tomato") or a specific variety (eg. "Cherry Tomato").

As far as the architecture for the Guide model, how should the data be structured?. Straight up as strings for now? Enums? Tables of values such as soil type?There's a lot of data to store from dates, to hardiness types, to watering amounts.

Forgive me if this discussion has already been had elsewhere and earlier! 🇺🇸

Collaboration Forum

No place to communicate with the contributors of this project to prevent overlap of backlog. Also backlog doesn't appear to contain any work ready to be carried out in bite sized chunks..

Add description to "Soil Type" and "Preferred Growing Method"

When you sign up (create user) there might be a good idea to add a option list with different "Soil Types" that the new user can select from. And a link to a guide how to determine ones soil type.

Add a couple of suggestions to the "Preferred Growing Method" to get the new user think in the right direction.

Style Guides.

It makes sense to create a series of code style guides for HTML/JS/CSS.

We can make our own, or just steal some from others.

CSS options: http://css-tricks.com/css-style-guides/
JS the Airbnb one is pretty good: https://github.com/airbnb/javascript

These could just be pages on the wiki for people to refer to, and could evolve as the codeset progresses.

It would also be a good place to define styles on top of the Foundation presets.

Thoughts?

Binomial names and the endless complexity of categorizing life

I thought I'd share what I learned while researching naming conventions for Practical Plants.

A binomial is composed of the genus name and species epithet: e.g. Brassica oleracea (binomials should always appear in a contrasting style to the surrounding text, most commonly italics). This is not enough information to refer to the majority of cultivated plants, since there are almost always numerous varieties, sometimes representing very different plants with entirely different needs. For example, the single Brassica oleracea species represents the thousands of cultivars of Cabbages, Broccolis, Kales, Coliflowers, Brussel Sprouts and so on. Advice and data for one species can be entirely irrelevant for another.

There are several systems of sub-species categorization used for plants, used often interchangably, and equally often incorrectly. Browsing plant data online you'll often see epithets like var. convar. ssp. etc.

In my research I found the following is generally seen as 'correct': use var. when referring to a naturally occurring species variety. There are some cases when one should use ssp. (subspecies) for some subtle botanical distinction which I don't remember. Most relevant for Open Farm is ICNCP which should be used when referring to a registered cultivated variety. It also provides a means to refer to cultivars which share characteristics as a group, which is crucial.

E.g. Cabbages are a member of the Capitata group Brassica oleracea Capitata Group, and Brocolli are grouped as Italica Brassica oleracea Italica Group.

and one may refer to one of my favourite winter cabbages, January King by any of the following:

  • Brassica oleracea 'January King'
  • Brassica oleracea (Capitata Group) 'January King'
  • Cabbage 'January King'

The cultivar name must always be enclosed in single quotes, and capitalised. The group must be enclosed in brackets if present, but it is not required, and should be capitalised. The last example is informal and useless for categorization.

On the opposite end of the scale, it is not uncommon for a plant common name to actually refer to an entire genus of plants made up of many very similar species with the same requirements and care conditions, and so the binomial is actually too specific.

Accordingly, I recommend a subset of these properties exist in order to categorize which plant a guide belongs, the only mandatory entry being taxonomic rank and genus:

  • taxonomic rank (genus, species, subspecies, variety, cultivar group, cultivar)
  • genus
  • species
  • cultivar group (optional even when cultivar name is set)
  • cultivar name
  • subspecies
  • variety

Since common names are so variable, not just from language to language but between regions, I think these are best represented as their own document rather than attached to a guide. That way a user can search by the common name they know and find all relevant guides. It would also allow the guide author to simply enter the common name they know and, if it has already been entered by someone, the remaining taxonomic information could be auto-filled.

Guide page tooltips!

For the following elements:

  • Guide rating: "4.1 out of 5 stars from 37 reviews"
  • Compatibility elements: "60% match because ____"
  • Timeline vertical bar for today: "Today is Feb 21"
  • Timeline horizontal bars of time: "95 days"
  • Timeline vertical bars for major events such as last Spring frost: "Estimated last Spring frost: Mar 14"
  • Growing Instructions unit conversions
  • Growing instructions bar graph value: "Water 14 Liters/Plant, every day"

Deprecated functions

When opening the landing screen in Ubuntu, we get "deprecated" warnings. Different ones in Firefox and in Chromium.

In Firefox:
Use of getPreventDefault() is deprecated. Use defaultPrevented instead.

In Chromium:
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

AJAX search box in /guides/new ?

Perhaps we should have an ajax search box that finds crops by ID rather than by name to prevent duplication of records in guides.

NOTE: It looks like simon already started this feature.

Frontend framework and responsiveness

Do we want to use a frontend framework such as Bootstrap or Foundation? Lots of users may be accessing the site from mobile when at the nursery or in the garden, so a responsive design is imperative.

The Guide page mockup was designed on a 12 column grid, so it could port well to soemthing like Foundation in that regard.

Development Branch

Should we have a development branch alongside a proper release cycle?

I say this because it makes more sense to focus on specific parts of the application and release them one by one through the master, rather than just keeping the current website on the same branch as the development is going.

It might also make sense to instate semantic versioning for any API we decide to build?

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.