barcamp-cork

04 Nov, 2008

The Carbon Calculator

Posted by: conor In: Afterwards

Bart has made the code-drop from Saturday available. He’ll do another drop later this week with a better landing page etc.

 
It requires:

  • Python 2.5
  • Django 1.0
  • sqlite3
  • pysqlite3

Right now you can either access the http://localhost:8000/events/ or the http://localhost:8000/admin/ pages to play around.
login: admin
pass: barcamp

Code archive file: green.zip

4 Responses to "The Carbon Calculator"

1 | paul savage

November 4th, 2008 at 6:46 pm

Avatar

Thanks for this Bart and others. Can anyone point me in the right direction to a tutorial on how to install it on WinXP ?

Thanks,
Paul

2 | Dave Jeffery

November 5th, 2008 at 12:40 am

Avatar

For some reason, the internet wont allow me to access your localhost. :D

(Those URL’s are incorrect)

3 | Dave Jeffery

November 5th, 2008 at 12:51 am

Avatar

I just realised that maybe those urls were intended to reflect the urls that you would use when you have Carbon Calculator running. Please delete my previous comment if that is the case

Paul: I Don’t use windows XP but this should work:

1. Install Python from http://www.python.org/download/releases/

2. Download django, unzip it and run ’setup.py install’ (in the django directory)

3. You should be able to use MySQL, PostreSQL or SQLite as the database because django is database agnostic. SQLite is the easiest, make sure you install the python bindings as mentioned in the post (pysqlite3)

4. Download and unzip green.zip, edit the settings.py so that it connects to whichever database you choose. Then run ‘manage.py syncdb’ and then ‘manage.py runserver’. Load up http://localhost:8000/events/

Voila!

4 | conor

November 5th, 2008 at 12:53 am

Avatar

You got it right the second time Dave :-)

Comment Form

About

BarCamp Cork II on November 1st in Webworks is the follow-up to Ireland's first BarCamp held in 2006. It's about people getting together, sharing ideas, learning from each other and finding like-minds.

Subscribe to Updates by e-mail

Enter your email address:

Delivered by FeedBurner