Tag Archives: rubyonrails

The VPN is dead – protecting your business apps with GitHub/Google Apps auth

It is easier, faster, and cheaper to borrow GitHub for your next internal business app than to write your own login/reset-password/two-factor authentication/team management system. In 2018 it is easier than ever to write small bespoke web apps for your business. Pick a high-level web framework (Ruby on Rails, Spring/Java) with a high-level ORM, collect data

Using Concourse CI to test your web app and PostgreSQL

A typical web application will need services, such as databases and caches, to run. It will probably also need these services to run its test suite. In this blog post, we will look at how to set up and run PostgreSQL within Concourse CI prior to running our application’s test suite. The Problem For a

Testing distributed systems thru failure/down time scenarios with Delmo

For the last year or so, at Stark & Wayne we’ve been developing production-grade data services that support highly available failover and automatic disaster recovery. We are planning for these data platforms to run 1000s of databases, so every failover and every user’s requirement for disaster recovery needs to work every time and without human

Rails 5.1 applications can be a lot more secretive on Cloud Foundry and Heroku

Our applications need access to secrets – passwords, tokens, special URLs. Platforms like Cloud Foundry and Heroku have made environment variables easy to use, and so we use them. Albeit they are typically not as secretive as we might like. Here’s a one-liner to look up every secret that you have access to across all

Run one-off tasks and database migrations in Cloud Foundry 2016

Within Cloud Foundry 2016, with Diego support enabled and the latest cf CLI you can now run one-off tasks natively in your Cloud Foundry. For Ruby on Rails applications this means you can run database migrations or seed the database from your local computer very easily. Conceptually you would run either: cf ssh <appname> cf