Posts tagged API
Testing a REST Web Service with Cucumber
The Cucumber book has been helpful in a way that I saw more options for testing a web service. It's my first time to use HTTParty. In the past, I always used RESTClient gem for this kind of task.
Just think the example is overkill. Maybe we just want to know whether the JSON response includes the data we expect.
Continue reading »Capistrano Task For Importing Remotely Hosted Assets to Local Directory
This is related to my post about using Capistrano to retrieve the a database from a remote host and import to local database.
Continue reading »Capistrano Task For Loading Production Data Into Your Development Database
Great Sunday. I just finished backing up data of two of my sites. This blog site of mine is using Sinatra DSL which is an alternative to Ruby on Rails framework. Another site of mine runs in Drupal 6. I was able to successfully local production database for both without using PHPMYADMIN. It's all done via command line. For me, it was a time-saver.
Continue reading »Deploying A Drupal Site With Git and Capistrano
This is my first attempt to write a definitive guide on how to set up Drupal and how to deploy a Drupal site using Git and Capistrano.
Why bother using Git and Capistrano when you can just upload via FTP? Isn't it needless effort if you're a lone developer and you have good retention of the things you have done?
Continue reading »