Awesome
Apachaï
Picture uploading for the rest of us
Apachaï is designed to be a small and lightweight photo and picture sharing application (for services like Twitter) built on the Manos framework. A running instance is available at apch.fr.
Dependencies
It depends on a Redis server available and on ServiceStack .NET binding to it (included).
Apachaï also leverages code from TweetStation and Pinta but it's not needed to have any of them installed.
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.template
to 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)twitterKey
andtwitterSecret
: get one over at http://dev.twitter.comtwitterCallback
: theorically it should be set to something likeserverBaseUrl
/AuthCallback but who knows.testInstance
: a boolean, iftrue
the 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
Then just in case, walk a bit in the javascript code under Content/js as I may have hardcoded some stuff to http://apch.fr (promise, I try to avoid this but sometimes I'm lazy). A grep should do the trick.
Finally just hit manos -s
in the root folder and you are all set.
License
All code, markup and others are released under the permissive MIT license.
Copyright (c) Jérémie "garuma" Laval