Hey all,
I was tired of installing the App Inventor sources in computers so
came up with this docker file
https://github.com/josmas/appinventor-env-docker
It creates a container with all you need (ant, phantomJS, appengine,
Java, adb, and so forth).
The accompanying script will mount your local sources as a volume
shared with the container, so the container can be deleted and
recreated, and all the data stays in your computer (modify the
runBash.sh script to point to your sources, as explained in the
readme).
your phone should be detected through USB to push the Companion while
working [check the android rules file]).
If your docker host is not Linux, you might have to map ports 8888 and
5037 in your virtualbox VM (or vagrant file). Haven't tried this yet
on other hosts (only Linux) so feedback welcome.
Although the particular versions of openjdk8 and appengine run well
locally, I haven't tested if they are a good combination to push to
the appengine service. If anyone tries, let me know.
Another thing to try could be to create a script to simply launch the
server for non-developers (probably modifying the file to clone the
sources directly inside the container, and compile everything). Not
sure non-developers will want to go though learning docker though, so
not going to work on that for now (pull requests welcome!).
cheers,
José