aboutsummaryrefslogtreecommitdiff

Unshorten is a little Sinatra app, which provides a way to expand short links.

Install

These installation instructions use rvm as ruby provider. If you want to use rbenv or your system ruby, please refer to their specific documentation to know how to install ruby 2.4.

Running it

For testing it, you should just run:

For production use, just pass the right environnement variable:

To stop it, just enter ctrl+C if you are in development mode or enter the following command if you are in production mode: