Re: SpringGrid
Posted: 29 Oct 2009, 15:59
I've uploaded the VirtualBox image. It's here:
http://manageddreams.com/ailadder/downl ... tu.tar.bz2
http://manageddreams.com/ailadder/downl ... tu.tar.bz2
use the gpg key signing infrastructurehughperkins wrote: Also, perhaps, as I write this, maybe botrunner hosts could be the ones to choose which devs' keys they accept? Rather than having some central controller, which tends to work not that great in an opensource environment?
python-pyme or python-gnupginterfacehughperkins wrote:I guess a key blocking point for using key signing is that python doesnt natively support it AFAIK? So, needs another library. Any suggestions on this?
Code: Select all
gpg --import someaidevkey
gpg --verify somefile.tar.bz2.sig somefile.tar.bz2
Ah! Excellent info!aegis wrote:event.d is easier to setup than init.d
Code: Select all
#!/usr/bin/python
import os
import cgitb; cgitb.enable()
import cgi
import urlparse
from openid.consumer import consumer
from openid.store import filestore
from utils import *
def go():
openidurl = formhelper.getValue('openid')
if openidurl == None and formhelper.getValue('openid.claimed_id') == None:
jinjahelper.rendertemplate('testopenid.html')
return
mystore = filestore.FileOpenIDStore( 'openidstore' )
sessiondata = {}
myconsumer = consumer.Consumer( sessiondata, mystore)
if formhelper.getValue('openid.claimed_id') == None:
myrequest = myconsumer.begin( openidurl, anonymous = True )
print "Content-type: text/html"
print "Location: " + myrequest.redirectURL('http://localhost/openid','http://localhost/openid/testopenid.py')
print '\n\n'
return
_querystringdict = urlparse.parse_qs(os.getenv("QUERY_STRING"))
querystringdict = {}
for key in _querystringdict.keys():
querystringdict[key] = _querystringdict[key][0]
result = myconsumer.complete(querystringdict, 'http://localhost/openid/testopenid.py')
jinjahelper.message('done ' + str(result) )
go()
I think your question is: what is Amazon EC2? Yes, they have an api you can call from your local machine's commandline, and they also have a web interface, as you say.hoijui wrote:just to see if i get the basic ide aof that thing right (amazon EC2):
you make a virtual image, and upload it to Amazon. thne you pay them per GHz, and they run this image on their machines. you configure details through a we interface (VM options or the like).
yeah?