We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: social networking framework with multi user blogs, developed in Rails 2.0.2 completely RESTful
Homepage: http://blogpub.ro
Clone URL: git://github.com/sergiutruta/blogpub.git
Click here to lend your support to: blogpub and make a donation at www.pledgie.com !
name age message
file .gitignore Fri Mar 21 16:19:27 -0700 2008 ignore files in uploads [sergiutruta]
file Capfile Sat Dec 08 15:31:23 -0800 2007 added mongrel_cluster.yml and capistrano deploy... [sergiu]
file README Sat Jun 28 00:13:55 -0700 2008 updated the README with instructions on how to ... [sergiutruta]
file Rakefile Mon Nov 19 13:05:24 -0800 2007 initial import [sergiu]
directory app/ Sun Jun 29 00:57:11 -0700 2008 added pagination for administrator articles ind... [sergiutruta]
directory config/ Sun Jun 29 00:57:11 -0700 2008 added pagination for administrator articles ind... [sergiutruta]
directory db/ Tue Mar 18 16:44:26 -0700 2008 added indexes on foreign keys in articles, comm... [sergiutruta]
directory doc/ Mon Nov 19 13:05:24 -0800 2007 initial import [sergiu]
directory god/ Sat Mar 22 06:17:11 -0700 2008 updated god configuration file [sergiutruta]
directory lib/ Fri Mar 21 16:03:01 -0700 2008 changed the antispam criteria [sergiutruta]
directory public/ Sun May 11 07:40:04 -0700 2008 added pagination to main blog page and to each ... [sergiutruta]
directory script/ Mon Nov 19 13:05:24 -0800 2007 initial import [sergiu]
directory test/ Sat Mar 15 09:58:43 -0700 2008 added import functionality from another blog feed [sergiutruta]
directory vendor/ Sun Jun 29 00:57:11 -0700 2008 added pagination for administrator articles ind... [sergiutruta]
README
BlogPub
=========

BlogPub is a user-centric framework which allows users to have their own subdomain blog, to write and group together 
similar topics in global categories like "blogger's magazine", "morning coffee" or anything else you might think of. 

Language Support
=================

It supports any language you need, using the great Polyglot localization plugin. As is, it supports Romanian and 
English. You can add your own language by going to vendor/plugins/polyglot/languages and creating you own language file, 
for example de.yml. Copy everything from the en.yml and start translating the messages into german or whatever other 
language you've chosen. 

Using BlogPub on localhost
===========================

In order to use subdomains on localhost, you can do the following:
Open the following file: /etc/hosts, and add into it a few domains and subdomains that you'd like to use while testing 
on localhost. I use the .dev extension for the local domains, but you can use whatever you like. Though be careful not 
to define a domain which is a real domain. For example defining

127.0.0.1 www.google.com

would send any request from the browser for "www.google.com" to your own machine, not to the real Google. That's why I 
use a .dev extension, which is not a real one. So, back to what you define into your hosts file. Let's use the 
macbook.dev main domain, with subdomains john.macbook.dev (for the user john) and chris.macbook.dev (for the user 
chris). The following lines should be added into your hosts file:

127.0.0.1       macbook.dev
127.0.0.1       john.macbook.dev
127.0.0.1       chris.macbook.dev

If you want to test more subdomains for more users, you should add a line here for each one. 
Now, you should be able to go to "macbook.dev:3000" in your browser, and log in as chris (or john) and you'll be 
redirected to the correct subdomain.

Support
========

If you need help with customizing it, or if you want to contribute to this project, drop me a line at 
sergiutruta[at]gmail[dot]com.