Outstanding Issues
No bug tracker.
- like button: description is not different.
- Workshops are broken.
- installation instructions are missing.
- backups are not working since june.
Installation Instructions
- clone citytree repo.
get libhdate
Links
Akismet
Doing moderation is quite simple (missing filling in the user agent and referrer, both available as request.META['HTTP_USER_AGENT'] and request.META['HTTP_REFERRER'] but need some easy way to move them down the callstack.
Workshop Timeline
try this: http://zerokspot.com/uploads/timeline_demo/django_timeline.html (http://zerokspot.com/weblog/2008/06/25/create-a-timeline-in-javascript-with-simile/)
also sparklines: http://www.willarson.com/code/sparklines/sparklines.html
Other sites - as a reference for design decisions
http://www.cciw.co.uk/ - also django (but irellevant for this part). Liked the login shown clearly on top right, and the sign in clearly on the left.
How To Clone the site (ubuntu specific)
Not updated - there is now settings_local.py that is in .gitignore and imported if exists. Since this is the first step in many things - from testing new features to transfering to another hosting solution (can you say I'm frustrated with dreamhosters disbarring my
- sudo apt-get install mysql-server libhdate-python python-django git-core ipython python-mysqldb python-imaging
- /etc/init.d/mysql reset-password
- get a mysql dump of the database (using the phpmyadmin interface export) into mysql.dump
clone mysql using utf charset: mysql --default-character-set=utf8 -uuser -ppassword < mysql.dump
- git clone ..
- add the following at the end of settings.py (and later save as a local settings_local.py)
1 #--------------------------- Overrides ---------------------
2 # Overriding stuff for local testing - remove when copying
3 # back to original
4 import os
5 try:
6 if open('/etc/hostname').read().strip() == 'your_hostname_contents':
7 DATABASE_HOST = ''
8 DATABASE_USER = 'user'
9 DATABASE_PASSWORD = 'password'
10 BASE_DIR = 'location_of_citytree_git_clone'
11 MEDIA_ROOT = BASE_DIR + '/siteMedia'
12 MEDIA_URL = 'http://localhost:8001/siteMedia/'
13 ADMIN_MEDIA_PREFIX = 'http://localhost:8001/admin_media/'
14 TEMPLATE_DIRS = (
15 BASE_DIR + '/templates'
16 )
17 HEADER_MASK = BASE_DIR + '/frontpage/mask.png' #mask for main page header logo
18 DEBUG = True
19 TEMPLATE_DEBUG = DEBUG
20 except:
21 pass
- Use something to serve the static pages - I tried SimpleHTTPServer, it is way too slow on a duron 1200, so I switched to lighthttpd.
Router
- ADMtek ADM8211
- 1317:8201
some thread complaining he can't compile the oss driver. report of success with the binary driver on 2.4.
- general wireless resources with stuff about the adm8211:
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Jean Tourrilhes has info on both the gpl and binary driver.
- this guy is the bomb.
debian packages related bug (don't seem to be maintained for the last year)
kanotix main driver (before rewrite)
- there is supposedly an experimental package, but I can't find it.
seattle wireless has a page on admtek. They have bad news - the ADM8211A cannot be used as an AP apparently. The newer B and C can, but I don't have them
jQuery Snippets
script type="text/javascript">
$(function () {
$("input#addWorkshopEvent").click(function(event) { $("tr#rowToAddEventBefore").prepend("<tr><td>bla</td></tr>");
}); });
</script>