Picture uploading for the rest of us
Of course, you need Manos installed if you want to launch the application (no need for another webserver though).
How to run
To run Apachaï you need to adjust a few things. First, rename
config.json and adjust the settings there. Following is a small description for each of them:
serverBaseUrl: that's the URL of the host you deploying unto (example: http://apch.fr)
twitterSecret: get one over at http://dev.twitter.com
twitterCallback: theorically it should be set to something like
serverBaseUrl/AuthCallback but who knows.
testInstance: a boolean, if
truethe application will work standalone and will never do a single call to Twitter. Useful for debugging purpose.
imagesDirectory: a path (relative or absolute) to a folder where your want the picture sent to be stored. Defaults to the 'Pictures' value (you have to create the folder in the root directory yourself though).
redisServers: an IP or host array of string where we can join Redis server instances, by default we simply use 127.0.0.1
Finally just hit
manos -s in the root folder and you are all set.
All code, markup and others are released under the permissive MIT license.
Copyright (c) Jérémie "garuma" Laval