Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby JavaScript
Tree: ad9ce94208

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
doc
lib
log
public
script
spec
vendor
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
Guardfile
Procfile
README.md
Rakefile
config.ru

README.md

shortstuff Build Status Code Climate

shortstuff is a small rails app that acts as a URL shortener. It is designed for use inside a closed network where an admin can control the DNS server so you can make your own url service. It does not offer any authentication (this is by design) and URLs are never expired. There is a very simple JSON api for creating new URLs. I may release a CLI gem that interfaces with this via some kind of ENV configuration.

Development Setup

Get the code.

git clone git@github.com:drapergeek/shortstuff.git

Set up the project's dependencies.

cd project
bundle --binstubs

This will automatically add a heroku remote for staging.

Running tests:

rspec spec

Use Foreman to run the app locally.

foreman start

It uses your .env file and Procfile to run processes just like Heroku's Cedar stack.

Something went wrong with that request. Please try again.