Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

mtnstar/himbeer-rails

Repository files navigation

README

himbeer-rails is a webapplication for controlling GPIO connected devices of a raspberry pi.

for controlling these devices it connects to a gpio-service which is provided by the following project: github.com/psunix/himbeer-gpio-service

Installation

requirements

precompiling assets

bundle exec rake assets:precompile RAILS_ENV=production

Development

for development it’s recommended to use rvm. (rvm.io)

after you’ve installed rvm you are ready to checkout the project with the git clone command:

git clone https://....

now it’s time to install the the dependencies with bundler.

cd himbeer-rails
bundle

when the needed gems are installed, the database is ready to be created.

rake db:migrate db:seed

now open the gpio service client configuration and change the given ip address and port to fit you RPi’s configuration

RAILS_ROOT/conf/gpio_service_client.yaml

make sure the RPi is powered up and the gpio service is running

the rails webserver should now be ready to start

rails s

access the webapp by the following url:

http://localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published