Giter Club home page Giter Club logo

raspctl's Introduction

License
=======
Copyright (c) Jan Carreras Prat 2013.
License: GPL3. See the COPYING file or take a look to http://www.gnu.org/licenses

Webpage
=======
Official webpage:
http://raspctl.com
Official repository:
https://bitbucket.org/inedit00/raspctl

About
=====
Developed by: Jan Carreras Prata <[email protected]>
Stage of developement: Beta
Contact: Feel free to contact me if you have a request, for reporting bugs, or just to say thanks.

Install
=======

PACKAGE
RaspCTL has a debian packaged in a public repo. Follow the instructions given in the official webpage (http://raspctl.com).
This is the BEST and easyest way of installing RaspCTL.

Or you can simply try to install it by yourself manually (hard way):

DEPENDENCIES
Required system packages:
	$ sudo aptitude install python-bottle mercurial

Required if you want to use the webcam:
	$ sudo aptitude install fswebcam

USER
This application MUST run as non-privileged user. It is possible to run it
as root but is strongly discouraged. You can create other user different
than "pi" if you want.

GROUPS
Make sure that you user is in the video and audio groups:
	$ sudo adduser $USER video
	$ sudo adduser $USER audio

If you user as been added to one of this two groups, reboot the Rasberry Pi.

CLONE THE PROJECT FROM REPOSITORY
	$ hg clone https://bitbucket.org/inedit00/raspctl
	$ hg update stable

PRIVILEGED COMMANDS
If you want to use the "services" section (start/restart/... services in /etc/init.d/*)
you must execute the command below. For more information read the commands in the file
itself (I strongy recommend it):

sudo ./scripts/exec.sh deploy [user]

Being "user" the name of the user that will execute RaspCTL. The default is "pi".

STARTING THE APP
Must be started from the root directory of the application
	$ cd raspctl
	$ python core.py

You can now browse to http://your-rasppi-ip:8086/

DETACH APP FROM CONSOLE
If you want to execute the web application like if it were a daemon you can do:
	$ nohup python core.py &

DEVELOPERS
If somebody is interested in modify the code just have to run the DEPENDENCIES and STARTING THE APP
steps. If you have problems, drop me an email.

raspctl's People

Contributors

anupcshan avatar etanol avatar gibabr avatar iboboc avatar jan-carreras avatar

Watchers

 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.