« 1Password just isn't enough: SuperGenPass | No more gksu? »
Just a quick note on the wonderful Juno framework, which I've been using for a small project. Sadly the documentation isn't quite clear when it comes to deployment with mod_wsgi. At least I had some head scratching while reading through the documentation and just had to figure out how to do it.
This is what you will find in the docu:
** WSGI Notes **
Since mod_wsgi requires a function named 'application', you would need to put Juno
in 'wsgi' mode >and call run() like so:
config('mode', 'wsgi')
application = run()
Those functions will make more sense later.
Perhaps it's just me, but it didn't make much more sense to me later. So I basically tried some stuff, until I had a working version. I'm using the config scripts from django_hoster as a basis. You might want to take a look at the templates.
Basically the only thing you will have to change in comparison to a Django WSGI deployment is the app.wsgi. From here you will have to start the Juno app for the WSGI:
#!/usr/bin/python
import sys, os
sys.stdout = sys.stderr
# Here my Juno script is located
sys.path.insert(0, os.path.join(os.path.dirname(\_\_file\_\_), '..\/lib\/'))
import web # This is my juno script
application = web.run() # Start the Juno app
And that's basically all the magic you need to deploy your Juno web app with WSGI. Have fun!
posted by Jochen Breuer, 2009 October 11
Comments
1 rerorgame says...
I tried one of those online survey sites about 4 months ago that say all you have to do is spend a couple of minutes filling out some surveys and you will be making hundreds a day..... YEAH RIGHT, I didn't make anything.
I joined 7 of these stupid websites and I actually tried filling out a couple of surveys on each site and they took forever then at the end they wanted me to buy things or I couldn't complete the survey.
These are complete scams so be aware!!! I couldn't believe they were even allowed to sell such bogus products.
Then about 2 weeks ago I was watching the news and they had some vice presidents and marketing managers of some major multi million dollar companies talking about a site that they personally work with to pay consumers for their opinion, A site that actually just wants the "average Joe's" honest opinion on products and services and is willing to pay big money to get them.
>>>>>>>>>>>>> http://clickplz.com/takesurveysformoney for more information <<<<<<<<<<<<<<<<<
I tried this site out and it is the only one I have ever seen that actually pays you just to take surveys. I made almost $100 in my first day just filling out 3 simple surveys.
This is the only legit survey site online, so if you are interested in making hundreds per day just giving your opinions then make sure you check this out.
>>>>>>>>>>>>> http://clickplz.com/takesurveysformoney for more information <<<<<<<<<<<<<<<<<
P.S. there is a video on the homepage that will explain everything. If I were you I would at least check the video out and if you don't make at least $300 in your first week they have a 2 month refund policy so just get your money back!!! This is definitely worth a look!
>>>>>>>>>>>>> http://clickplz.com/takesurveysformoney for more information <<<<<<<<<<<<<<<<<
<a href=http://www.home-businessreviews.com/Surveys-For-Money.html>surveys for money online</a>
Posted at 3:28 p.m. on April 30, 2010
2 xrumer blast service says...
Hi! Staggering news I discovered site which run professional xrumer service! They provide thousands of real verified backlinks! Unlike other service providers they gave me report with direct links to my posts with 100% ratio! every single post looked exactly like this one! I got significant increase in SERPS and got 1500 visitors same day when blast started! Very kick ass xrumer service I have to say! If you want to order visit this website - <a href=http://xrumerservice.org>xrumer blast</a> he answers all emails super quick!
Posted at 10:19 a.m. on May 10, 2010
3 pat says...
Thanks ! I've learned something today ! Never heard about Juno.
Posted at 5:20 p.m. on May 20, 2010
4 Buy Viagra Online says...
Hello i am looking to go for buy viagra online at online pharmacys, i include looked at lots of places to buy viagra, cialis and other erection disfunction drugs but have till failed to unearth a conscientious online pharmaceutics to acquire buy viagra and buy cialis. i have rest this shop at <a href=http://www.tobuyviagra.com>Buy Viagra</a> steal viagra dialect mayhap they are more reliable as they proposal reviews only.
Posted at 12:08 a.m. on May 24, 2010
5 Buy Viagra Online says...
Hello i am looking to swallow buy viagra online at online pharmacys, i possess looked at lots of places to secure viagra, cialis and other erection disfunction drugs but acquire still failed to unearth a secure online apothecary to acquire buy viagra and gain cialis. i get rest this workshop at <a href=http://www.tobuyviagra.com>Buy Viagra</a> procure viagra possibly they are more reliable as they proposal reviews only.
Posted at 3:54 a.m. on May 25, 2010