Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: 091labs/lolo-server
base: 9a5593eadd
...
head fork: 091labs/lolo-server
compare: 0b3f720a33
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 16 additions and 17 deletions.
  1. +16 −17 README.txt
View
33 README.txt
@@ -44,11 +44,8 @@ Check for the idVendor (before ':') and idProduct (after ':') values in the ID s
cd /etc/udev/rules.d
- sudo echo SUBSYSTEM=="usb", ATTR{idVendor}=="10cf", ATTR{idProduct}=="5500", MODE="0666" >/etc/udev/rules.d/k8055.rules
+ SUBSYSTEM==usb, ATTR{idVendor}==10cf, ATTR{idProduct}==5500, MODE=0666 RUN+="/usr/local/lib/python2.7/dist-packages/lolo-0.2-py2.7.egg/lolo/button.py"
-!!
-!! need to change the k8055.rules to include command to run upstart job
-!!
Plug out the device and reboot udev::
@@ -99,13 +96,10 @@ Insert::
lolo
----
-Installing LoLo to Ubuntu::
-
- sudo easy_install lolo<version>.tgz
- locate lolo
-
-Select the one that starts with /usr/local/lib, /usr/lib, or something similar probably also mentioning Python.
-
+Installing lolo-server to Ubuntu::
+
+ sudo apt-get install python-setuptools python-dev build-essential
+ sudo easy_install https://github.com/091labs/lolo-server/archive/master.zip
==========================
Changing headers for CORS:
@@ -114,18 +108,23 @@ Changing headers for CORS:
For the SpaceAPI json file.
Into your Apache server httpd.conf (or your .htaccess file of choice)::
- <Directory (your full pathname)>
- <Files ##################################### <- UNFINISHED!!!>
- Header set Access-Control-Allow-Origin "*"
- Header set Cache-Control "no-cache"
- </Files>
+ <Directory /var/www/lolo/json>
+ <Files "status.json">
+ Header set Access-Control-Allow-Origin "*"
+ Header set Cache-Control "no-cache"
+ </Files>
</Directory>
==================================
Changing desktop for boredom sake:
==================================
-This was done at MakerFaire simply to make the change more visible to people passing the stall.::
+This was done at MakerFaire simply to make the change more visible to people passing the stall.
+
+Add the each of the following::
subprocess.call(["gsettings","set","org.gnome.desktop.background","picture-uri","'file://"+self.PREFIX+"lolo/images/closed.png'"])
+ subprocess.call(["gsettings","set","org.gnome.desktop.background","picture-uri","'file://"+self.PREFIX+"lolo/images/open.png'"])
+
+... to the appropriate side of the if...else within the change_status() function in status.py

No commit comments for this range

Something went wrong with that request. Please try again.