This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Sergiu Truta (author)
Thu Jun 18 16:02:24 -0700 2009
blogpub /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
Capfile | ||
| |
README | ||
| |
Rakefile | ||
| |
app/ | ||
| |
config/ | ||
| |
db/ | ||
| |
doc/ | ||
| |
god/ | ||
| |
lib/ | ||
| |
public/ | ||
| |
script/ | ||
| |
test/ | ||
| |
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.









