OpenMicroBlogger Code
Status: Beta
Brought to you by:
foghorn43
| File | Date | Author | Commit |
|---|---|---|---|
| app | 2008-09-04 | foghorn43 | [r1] OpenMicroBlogger 0.1 |
| cache | 2008-09-04 | foghorn43 | [r1] OpenMicroBlogger 0.1 |
| content | 2008-09-04 | foghorn43 | [r1] OpenMicroBlogger 0.1 |
| db | 2008-09-04 | foghorn43 | [r1] OpenMicroBlogger 0.1 |
| resource | 2008-09-04 | foghorn43 | [r1] OpenMicroBlogger 0.1 |
| tags | 2008-09-04 | foghorn43 | [r3] 0.1 release of OpenMicroBlogger |
| uploads | 2008-09-04 | foghorn43 | [r1] OpenMicroBlogger 0.1 |
| README | 2008-09-04 | foghorn43 | [r1] OpenMicroBlogger 0.1 |
| index.php | 2008-09-04 | foghorn43 | [r1] OpenMicroBlogger 0.1 |
| jqUploader.swf | 2008-09-04 | foghorn43 | [r1] OpenMicroBlogger 0.1 |
| wp-login.php | 2008-09-04 | foghorn43 | [r1] OpenMicroBlogger 0.1 |
OpenMicroBlogger -- Standards-based Microblog
Copyright (C) 2008 Brian Hendrickson
This application is free software; you can redistribute it and/or
modify it under the terms of the MIT License.
This application is distributed in the hope that it will be useful,
but without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.
Author
Brian Hendrickson - http://brianhendrickson.com
Version 0.1, 1-Sep-2008
initial release
REQUIREMENTS
- PHP > 4.2
- MySQL or PostgreSQL
INSTALLATION
///////////////////////
// set up your database
///////////////////////
edit the file: app/config/config.yml
look for the database settings
# database settings
development:
adapter: mysql // 'mysql' or 'postgresql'
database: microblog // name of database
username: jacques // name of database user
password:
host: localhost // name or IP address of database server
and find the email settings too
email_from: root@localhost
email_name: Notifier
////////////////////////////
// choose a file upload mode
////////////////////////////
1) upload as SQL BLOBs (default)
maximum upload size is 5MB or so, not that great for big MP3s, but maximizes privacy
you must set the /cache folder permissions so the Flash uploader can put files there
2) upload as SQL BLOBs (WITH CACHING)
first set up your /cache folder as described in option 1
then, edit config.yml
look for
collection_cache:
- posts:
duration : 0 // and change this 0 to the number of seconds to cache
location : cache
3) upload FILES to /uploads (do not create BLOBs)
set permissions on the /cache and /uploads folders
next, edit config.yml
look for
collection_cache:
- posts:
duration : 0
location : cache // and change 'cache' to 'uploads'
4) upload FILES to Amazon S3 (do not create BLOBs)
set permissions on the /cache folder
then, edit config.yml
look for
collection_cache:
- posts:
duration : 0
location : cache // and change 'cache' to 'aws'
look for
awsAccessKey: // and put your AWS login info here
awsSecretKey:
awsBucket:
UPDATING
///////////////////////////
// use the /content folder
///////////////////////////
If you want to customize OpenMicroBlogger with your own theme and plugins:
1) copy config.yml into /content/config
2) copy your theme into /content/themes
3) optionally, add plugins to /content/plugins
note: plugins in this folder override same-name plugins in /app/plugins
///////////////////////////
// get the latest build
///////////////////////////
you can grab the up-to-date version from http://dbscript.net/omb.zip