emoncms/emoncms — pull request #157 by Dave-McCraw (2014-03-18 22:38:40+00:00)
Title: Restructure with install script

Hi,

This is a half-way step to the debian-packaged version of emoncms. Instead of using debian packaging it uses a homespun installer shell script, the idea is to split concerns over using an apt repository with general upgrade concerns over having taken the directory structure in a particular direction.

So, this is just the directory restructure and apache configuration to serve the site from /usr/share/emoncms-v8 as http://localhost/emoncms-v8 (preventing conflicts).

The crude installer script should copy the necessary files regardless of where the repo was checked out, after which it can be removed. Then it's just a question of running a2ensite to load up the new config, and you should be in business.

If people want to add modules, the simple answer is that they can clone the module repo directly into /usr/share/emoncms-v8/www/Modules, so this change is backwards compatible.

Let me know thoughts (and please don't accept without trying it out. I only have one Pi and really should have a testing one too.)