Giter Site home page Giter Site logo

rorschachrev / foodbot Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 20.68 MB

How safe is your restaurant food? Search for health violations before you decide where to eat.

License: Apache License 2.0

Python 12.08% HTML 87.49% CSS 0.16% Shell 0.01% JavaScript 0.26%

foodbot's Introduction

This repository has been restructured, but nothing should have been deleted. All db.* file, as well as all *.log files have been ignored in the updated .gitignore, and any files previously tracked by git of those types have been removed.

The bots have been re-organized into three distinct directories:

	goodbots/ - This is where completed && tested bots should live
	devbots/ - This is where bots-in-progress should live
	badbots/ - This is where bots that are deemed unworthy of our time should live

When starting work on a new bot or one from the existing devbots/, move that bot into your devbots/<name> directory. This will keep a clean separation between everyone's WIP bots. We can avoid git conflicts, as well as easily track work being done with this method.

The testbots/ directory is where bot-generated db.* files should be moved to when they are ready for testing. It is recommended, but not required (as the files aren't tracked) to remove the db.* files from this directory once they have been confirmed as working.
		** In a later release, the test_my_bot.py tester may be altered to look at the db.* files stored in the db/ directory.

The db.* directory is the directory that your bots should be creating/writing into their databases. The canonical name of databases is as such:

	db.az_cochise
	db.oh_franklin
	db.il_stclair

The logs/ directory is where your foodbots should write their output to. None of these files will be tracked in the repository, but the recommended naming convention is as such:

	food_AZ_Cochise.log
	food_IL_Pike.log
	food_NY_Erie.log

Foodbot naming conventions are as such:

	food_IL_Monroe.py
	food_UT_Utah.py
	food_IL_pike.py

Foodbots which require the use of Selenium shall follow the following naming convention:
	
	sefood_IL_Franklin.py
	sefood_NY_Erie.py
	sefood_MT_Cascade.py

The data/ directory will be where non-web scraping information will be stored, pdfs, etc.

The misc/ directory is where to put any files that do not fit into the above directories, but should be tracked anyways.

ALL DEVELOPMENT SHOULD BE DONE IN `git branch dev`
DO NOT PUSH TO `master`

When a bot is completed, tested, and moved into goodbots, let either Ian or Alex know so that they can do the necessary merging/tagging required to move the bots onto the production branch.

foodbot's People

Watchers

James Cloos avatar RorschachRev 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.