Monday, September 21, 2015

Automate test on the web with Ruby and Capybara


Our highest priority is to satisfy the customer through early and continuous delivery of valuable software. In this situation testing is very important to delivery good and bug free products. In Ruby on Rails there are many testing tools. But most of the developer like to use human readable code. For this reason Rspec is very popular for behaviour driven development testing framework. It helps us to figure out what to test, where to start and what to ignore.

Wednesday, August 5, 2015

Install postgresql 9.4 and configure it for Ruby on Rails


PostgreSQL is available in the default repositories. So enter the following command from the Terminal to install it.
sudo apt-get install postgresql postgresql-contrib
If you’re looking for other versions, add the PostgreSQL repository, and install it as shown below.

Convert html to pdf using wiked pdf gem(Ruby on Rails)


Today I will write how to convert html to pdf. For this we will use wiked_pdf gem. It’s a nice gem to convert.
1. put this on your gem file
gem ‘wicked_pdf’, github: ‘mileszs/wicked_pdf’
gem ‘wkhtmltopdf-binary’

Thursday, May 28, 2015

Install mean (Mongo, Express, Angular & Node) on Nitrous.io



Today I will share with you how to work with mean on Nitrous.io. You will find many tutorial how to deploy it on ubuntu. I just follow that tutorial and find a way how to do it on nitrous. my favourite remote host.
First go to the https://lite.nitrous.io . Open an account and then Open a nitrous box. Select node.js. 

Monday, May 18, 2015

Install yii framework-2 on Nitrous.io


Today I will write how to install Yii framework on Nitrous.io cloud box. If you face any problem to install it don’t hasitate to comment here. First open a box by selecting PHP.

Saturday, May 9, 2015

Role based registration with devise and cancan using Ruby on Rails


It’s very bad that to solve this problem I had to spend many days. I need to register my client site two types of users. We can use role types. we will use devise for registration and by using cancan we will authorize the content. You can check the demo source code.

Wednesday, April 15, 2015

Install and configure Apache, Mysql, PhpMyAdmin, FTP, CMS wordpress on Redhat 6.00 amazon EC2


You can take VPS from amazon. If you have credit card you can open an account. Amazon will charge you 1 dollar and give you many feature. You can use amazon EC2 for 1 year. It’s better if you take it from oregon.
I want to say you about how to open a vps on amazon ec2. First go to service- EC2. then instances – Lunch instances.

Saturday, February 7, 2015

Install Ajenti & Ajenti-v web hosting control panel on your EC2 amazon server


When we are using VPS, it’s better if we install a hosting control panel. It’s very important choosing the better control panel. Cause i don’t like most of the control panel like webmin, zpanel. It’s has less feature. now a days i like Ajenti control panel. Really very nice control panel. Thought it has some problem. But it’s good to work.

Tuesday, January 6, 2015

Install and configure Network simulator (ns3) on Ubuntu 14.04

On CSE we have to take thesis on the final year. Those who are on networking sector they have to work with Network simulator. Popular network simulator is NS3. Sometimes we need to install and configure it on ubuntu 14.04. As we have to download the source and compile it so it’s difficult for begginers. I will try to explain it easily. If any command not work please inform me.