Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v1.0
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (32 sloc) 1.095 kb

SubbySub

SubbySub is a URL shortener that works with subdomains rather than paths. Uses SQLlite3 as DB.

Example

http://github.hadric.us (redirects to my GitHub Profile)

Installation

  1. Clone this repo
  2. Set up a wildcard subdomain DNS entry to point to your server (so that all subdomains resolve to the one address)
    • e.g. *.hadric.us
  3. rake db:migrate
  4. Create config/config.yaml and specify user and password (used for Auth)

Config.yml

    development:
        parent_domain: <parent domain>
        username: <username>
        password: <password>

    test:
        parent_domain: <parent domain>
        username: <username>
        password: <password>

    production:
        parent_domain: <parent domain>
        username: <username>
        password: <password>

Thanks

Jump to Line
Something went wrong with that request. Please try again.