Browsing...
Pre/post deploy hooks with Dokku 0.5.0
Deploying with Dokku and in need to run some basic setup tasks such as copying config/database.yml.example
to config/database.yml
in Rails? It’s possible with Dokku 0.5.0 and app.json
file.
Following Rails redirects with Capybara
This a very short note on setting up Capybara to correctly follow redirects with Rails classic redirect_to @object
pattern.
Trusted SSL certificates with Let’s Encrypt and NGINX
letsencrypt.org is the new awesomeness that happened to SSL on the web. Forget over-priced trusted certificates or self-signed certs for your side & pro bono projects. Try trusted SSL in seconds for free instead :). If you choose to use Let’s Encrypt I want to show you what needs to be done on a pretty average Fedora VPS with NGINX server and how to avoid certbot errors like urn:acme:error:unauthorized and urn:acme:error:unknownHost.
Building international invoices with InvoicePrinter 0.0.9
From the start I wanted an unobstructive and flexible API for InvoicePrinter. This flexibility enables anyone to make international duo-lingual invoices without any special i18n API provided. But the truth is I had something a bit better in mind from the beginning and in 0.0.9 I am including something new suited for the job.
Running wkhtmltopdf in Vagrant (without X server)
Chances are you might need to run wkhtmltopdf on your server or in Vagrant environment (e.g. to overcome compatibility issue such as Cannot mix incompatible Qt library (version 0x50700) with this library (version 0x50701)
). That way you need to be able to run it without an actual X server.