Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18357

Web Server on Galileo

$
0
0

Just to get people motivated a bit:

 

My Galileo is now a stand-alone web server running Ruby on Rails. This gives web based access to Arduino shields.

 

It would be really nice to have a distribution we could download packages from - and I really miss apt-get.

But we do have wget and gcc in the tools build, and most packages can be downloaded from source.

 

I am not good on Python, so Ruby is my interpreter of choice. It may have been available in the Yocto distribution, but I did not see it.

The Ruby 2.0.0 source tarball is downloadable from MIT, and builds really smoothly on the Galileo.


Git was installed the same way - we all need a source control program.


With Ruby in place, we also have "gem install rails" to bring in the web server.

 

Nice thing about Rails is that less than a minute after the install, I have a working web server accessible from anywhere on my network that provides useful configuration information from my running system.

 

Now to get some of those Arduino sketches converted, running from the web, and accessing Arduino shields...


Viewing all articles
Browse latest Browse all 18357

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>