Giter Club home page Giter Club logo

projectfeeder's Introduction

Project Feeder

An open source pet feeder project

This repository is a collection of all the files used in this project.

The image file hosting went down, so here is a summary of what you need to do to get it working:

  1. Get a clean Rapsbian image running on your pi, and make sure you're able to run an Apache server / MySQL server localy.

    Easy way to connect to your Pi is using an ethernet cable straight to your pc and using the APIPA-range. After doing this you can connect to the address 169.254.10.1 over SSH

  2. Move the files to their location.

    • Frontend: RPi Code/www โ†’ /var/
    • Backend: RPI Code/project โ†’ /home/pi/ (or custom user)
  3. Connect to the database through MySql-Workbench

    Use the same APIPA-address: 169.254.10.1

  4. Load the sql-database by running the dump-file on it [thisRepo/Database-export/feederdb_dump.sql]

  5. Make sure the config file is correctly configured:[RPi Code/project/config.py]

    [connector_python]
    user = <Configured user>
    host = 127.0.0.1	#This is the ip for localhost and shouldn't be changed if ran localy
    port = 3306		    #Shouldn't be changed except if you changed the port for some reason
    password = mysql	#Here the password you've chosen for the database
    database = feederdb	#Here the name of the database
    
    [application_config]
    driver = 'SQL Server'
  6. Autorun the service on boot [RPi Code/project/config.py]

There are a lot of ways to do this, find something that works for you.

Everything else for building this project can be found here: https://www.instructables.com/Project-Feeder/

Chrome extension (optional)

I've also implemented a chrome extension, this is in no way mandatory to let it work but is a nice to have. To get it to work on your system you just load the folder Feeder extension in Chrome developper mode.

projectfeeder's People

Contributors

vaniseghemthomas avatar

Stargazers

 avatar Statanis 123 avatar

Watchers

 avatar

Forkers

sts0mrg0

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.