[Home]Miniemc2webinterface

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Difference (from prior major revision) (no other diffs)

Added: 0a1,3

Note:



The web interface is now cleanly integrated with the latest source. Please see https://github.com/kinsamanka/linuxcnc-mirror/tree/emcweb


Note:

The web interface is now cleanly integrated with the latest source. Please see https://github.com/kinsamanka/linuxcnc-mirror/tree/emcweb

How to port the miniemc2 web interface

These steps were tested to work on RPI and x86 builds of LinuxCNC. Note that this is just a hack, improvements are needed to make this web interface work properly.

Notes:

Install required packages

	sudo apt-get install --no-install-recommends libboost-serialization-dev libboost-thread-dev psmisc

Download the emcweb source and patch

	svn checkout http://miniemc2.googlecode.com/svn/trunk/emcweb
	wget http://dl.dropbox.com/u/17024524/linuxcnc/emcweb.patch

Patch emcweb and LinuxCNC

	patch -p0 < emcweb.patch

Compile

	cd emcweb
	make
	chmod a+x scripts/*

Create and populate web root directory

	mkdir -p www/data
	mv css/ js/ res/ html/index.html www/

Test

	sudo ./emcweb
	Browse http://<ip address>>

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions
Last edited February 27, 2013 10:29 pm by Kinsa (diff)
Search:
Published under a Creative Commons License