-
Heroku : Memo for postgresql
A little memo to configuration for local testing play2 application develop for Heroku with a PostgreSQL database. As the documentation on heroku site didn’t work, here is the DATABASE_URL value I use on my env. export DATABASE_URL=jdbc:postgresql://localhost/$(whoami) And to manually start a…
-
Play!> Routes : url segment as a single parameter
This post is mainly a note for myself. I was searching how to get a segment of an url (including some / characters) into a single parameter. The response is on stack overflow : use a regex. The goal for me is to reroute a subset of RESTFUL call to the server…
-
Play!> 2.0 Install it to /opt anyway
I don’t understand the new install of play!> framework 2.0 The documentation says : […]extract the archive to a location where you have both read and write access. (Running play writes some files to directories within the archive, so don’t install to /opt, /usr/…
-
Playing with sass and fancy-buttons
Before giving the second part of [my last post, a quick how-to to add great looking buttons in your applications with sass (an extension of CSS3) and fancy-buttons (an easy way to design CSS buttons in seconds) . there a sass module in play. Just type the following line to get…