Process Payments with Paypal in Rails, Part 3 – Recurring Payments
Oct 27, 14 by Juan Lebrijo about rails, payments, paypal, blog
Use paypal recurring payments to create subscriptions
Process Payments with Paypal in Rails, Part 2 – Charge Credit Cards
Oct 24, 14 by Juan Lebrijo about rails, payments, paypal, blog
Create a form in your site to charge your customers
PRUN: Ruby server with Docker
Oct 18, 14 by Juan Lebrijo about ruby, docker, nginx, prun, Ubuntu, blog
logo-plumbadge.png 44.9 KB
The idea is that: as equivalent to LAMP (Linux/Apache/Mysql/Php) architecture, in Ruby world we could have PRUN architecture: Postgresql + Ruby + Ubuntu + Nginx. Name: 'Prun' means 'Plum' in Romanian language. I have used Docker to create a container with:
  • Ubuntu 14.04 trusty
  • Postgres 9.3
  • Ruby 2.1.2
  • Nginx 1.4.6
Also based on OpenSSH to connect, Chef to manage Rails apps configurations and Supervisor to maintain daemons at the container. The repo is published on https://github.com/jlebrijo/prun and you can see the image at Docker hub https://registry.hub.docker.com/u/jlebrijo/prun/ The basic operation should be (details in the next post):
  1. Install with Docker: docker run -d -p 2222:22 -i jlebrijo/prun
  2. Manage configuration with Chef: knife solo cook root@lebrijo.com -p 2222
  3. Deploy with Capistrano: cap production deploy
That easy!!