Ruby JavaScript CSS Shell
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
scripts
spec
views
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
TODO.txt
api.rb
app.rb
config.ru
db.rb
helpers.rb
patches.rb
unicorn.rb

README.md

paly.io

Paly's URL shortener

By Maxwell Bernstein and Christopher Hinstorff for The Paly Voice

version 0.0.5

About

paly.io is a URL shortener written in Ruby intended to be used by the Palo Alto High School (Paly) community.

Deployment

bundle install

Set up Unicorn with Nginx

Environment variables

PALYIO_USERNAME SQL username
PALYIO_PASSWORD SQL password
PALYIO_HOST SQL host
PALYIO_DATABASE SQL database name

PALYIO_HOSTNAME site hostname (e.g. http://paly.io)
PALYIO_HOME_DIR home directory (e.g. /home/chris/)
PALYIO_WORKING_DIR working directory (e.g. path/to/paly.io)
PALYIO_PROCESSES number of worker processes alotted to Unicorn (e.g. 1)

License

GNU Affero Public License v3. See LICENSE.txt.