SubbySub is a URL shortener that works with subdomains rather than paths. Uses SQLlite3 as DB.
http://github.hadric.us (redirects to my GitHub Profile)
- Clone this repo
- 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
- rake db:migrate
- Create config/config.yaml and specify user and password (used for Auth)
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>
- Ryan Bates for the Subdomains RailsCast
- PerfectLine for validate_url
- Thomas McDonald for bootstrap-sass