github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

sergiutruta / blogpub

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 13
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • testing_branch
  • Tags (0)
Sending Request…
Click here to lend your support to: blogpub and make a donation at www.pledgie.com ! Edit Pledgie Setup

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

social networking framework with multi user blogs, developed in Rails 2.0.2 completely RESTful — Read more

  cancel

http://blogpub.ro

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

test commit 
Sergiu Truta (author)
Thu Jun 18 16:02:24 -0700 2009
commit  723efb281400e754d486d640aa3669958d2ef3c4
tree    adcfeaec93cb5b6c967eb58dbc832dc67eb39abb
parent  7df2f83acc423f2ff07a63d54ea44bebb8f2dd31
blogpub /
name age
history
message
file .gitignore Loading commit data...
file Capfile
file README
file Rakefile
directory app/
directory config/
directory db/
directory doc/
directory god/
directory lib/
directory public/
directory script/
directory test/
directory vendor/
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. 
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server