- Changes for fcgi configuration in public/.htaccess
- Comment the fcgi handler (found in initial few lines of the file)
- Change the dispatch.cgi reference to dispatch.fcgi (last few lines of file)
- In public/dispatch.fcgi change the shebang line to say something like this
- #!/usr/bin/env ruby
- Make sure everything is committed. (svn ci)
- capify the environment (capify)
- run rake configure_for_svn (assuming that the svn.rake task has been created already)
- edit config/deploy.rb to adjust values appropriately
- run cap deploy:setup
- On the remote server, copy $HOME/railsapps/config/database.yml.production to $HOME/${appdir}/shared/config (create target dir if not present). The $HOME/{appdir} should have been created by deploy:setup
- Since its the first time deployment, run cap deploy:cold
- Next time onwards, when you have to deploy, launch cap deploy:migrate
Friday, March 28, 2008
config for capistrano
Preparing a deployment of an app
Thursday, March 27, 2008
The Printable CEO™ Series
I have used this time tracking tool in past also, and always find it handy to keep notes in this format. Helps keep focus.
David Seah - The Printable CEO™ Series
David Seah - The Printable CEO™ Series
Wednesday, March 26, 2008
Mac4Lin ver.0.2 - Mac OS X Leopard Transformation pack
Surprised to see that people are running independent project to make linux look/act like mac.
I am curious and would sure experiment with this.
Mac4Lin ver.0.2 - Mac OS X Leopard Transformation pack - Ubuntu Forums
I am curious and would sure experiment with this.
Mac4Lin ver.0.2 - Mac OS X Leopard Transformation pack - Ubuntu Forums
Blogged with the Flock Browser
DVD Playback on Gutsy
Configuring DVD playback on Gutsy
For DVD playback, install VLC (accepted by most as the best DVD player, supports menus too);
sudo apt-get install vlc
And if you also want Totem to play DVDs well, you have to use the Xine backend instead of Gstreamer (this is optional, VLC will do just fine);
sudo apt-get install totem-xine libxine1-ffmpeg
To get encrypted DVDs playing properly (check out no. 9 in the "Troubleshooting" section if you are having problems with new DVDs), paste these commands into the Terminal;
sudo apt-get install libdvdcss2 libdvdread3 libdvdnav4 build-essential debhelper fakeroot
then;
sudo /usr/share/doc/libdvdread3/install-css.sh
or if you get an error with that command;
sudo /usr/share/doc/libdvdread3/examples/install-css.sh
To set VLC as your default DVD player (I strongly advise you do) type the following command into the Terminal;
gksudo gconf-editor
Now expand "desktop" and then "gnome", scroll down to "volume manager" but don't expand it, just click on it and look over at the right pane. Scroll down and look for "autoplay_dvd_command" and change the command to "/usr/bin/vlc dvd://" (without quotes of course) by right clicking on it and selecting "Edit", then click on "Set as Default". Do the same for the "autoplay_vcd_command" as well.
From : Complete Streaming, Multimedia & Video How-to - Ubuntu Forums
Blogged with the Flock Browser
Monday, March 24, 2008
Ekiga - PC to Phone on Ubuntu
It works, finally... it works.
I managed to configure my voipcheap account to work with Ekiga.
Though the phone numbers that u have to call look a bit awkward (sip:<phoneNumber>@sip.voipcheap.com), but it works.
I basically love the fact that I reduced another reason to boot into windows. Loving Ubuntu every minute...
Here's some documentation on How to Use Ekiga
Ekiga - Community Ubuntu Documentation
I managed to configure my voipcheap account to work with Ekiga.
Though the phone numbers that u have to call look a bit awkward (sip:<phoneNumber>@sip.voipcheap.com), but it works.
I basically love the fact that I reduced another reason to boot into windows. Loving Ubuntu every minute...
Here's some documentation on How to Use Ekiga
Ekiga - Community Ubuntu Documentation
Blogged with the Flock Browser
Saturday, March 22, 2008
Better Cross-Site Request Forging Prevention
Very useful piece of information about the changes from rails 1.x to 2.x. Since I was following the Agile ... with rails book (which is on rails 1.2.3), I got trapped with this problem.
Few new things for me, the concept of Cross-site request forgery and that rails 2 already handles it in the framework. I got to this article through www.railsforum.com and I have to say I am impressed.
What's New in Edge Rails: Better Cross-Site Request Forging Prevention
Providing such useful features built inside the app framework is really intuitive.
Way to go rails... :)
Few new things for me, the concept of Cross-site request forgery and that rails 2 already handles it in the framework. I got to this article through www.railsforum.com and I have to say I am impressed.
What's New in Edge Rails: Better Cross-Site Request Forging Prevention
Providing such useful features built inside the app framework is really intuitive.
Way to go rails... :)
Friday, March 21, 2008
RubyOnRails - Community Ubuntu Documentation
Very useful information for beginners... Or for troubleshooting the installation steps..
RubyOnRails - Community Ubuntu Documentation
RubyOnRails - Community Ubuntu Documentation
Blogged with the Flock Browser
Thursday, March 20, 2008
Linux desktop imitating OSX
Wonderful article .. full of info...
Linux desktop imitating OSX | Lauri Taimila
will report the exeperience..
Linux desktop imitating OSX | Lauri Taimila
will report the exeperience..
Wednesday, March 19, 2008
Free 1 year subscription of McAfree Virus Scan Plus
I dont quite believe this, but havent tried this either.
Free 1 year subscription of McAfree Virus Scan Plus
I have heard about free trial licenses from such companies for a month or two or three, but never for 12 months.
I just tried to register following the link, and it does seem to work. I didnt actually download the software yet, but I would sure do that. Sometime over the weekend.
It sounds really really amazing to me. A 12 month free subscription.. great... :)
Free 1 year subscription of McAfree Virus Scan Plus
I have heard about free trial licenses from such companies for a month or two or three, but never for 12 months.
I just tried to register following the link, and it does seem to work. I didnt actually download the software yet, but I would sure do that. Sometime over the weekend.
It sounds really really amazing to me. A 12 month free subscription.. great... :)
An interesting site...
An online document viewing website, you upload your document, the world sees it.
To me, an equivalent of blog, only not in terms of putting up content, rather organized documents.
Home | Scribd
To me, an equivalent of blog, only not in terms of putting up content, rather organized documents.
Home | Scribd
Blogged with the Flock Browser
Tuesday, March 18, 2008
Ensode - Free PDF Unlock Online Utility (Beta)
I got this Gartner group report about Magic quadrant Data Warehouse technology. I wanted to print it so that I can read it at leisure, but the pdf was locked for printing, even for copying.
I googled for "unlock pdf files" and the first hit I got was this link.
Just give it your locked pdf file and it generates an unlocked pdf for you in the new browser window.
Ensode - Free PDF Unlock Online Utility (Beta)
cool stuff..
I googled for "unlock pdf files" and the first hit I got was this link.
Just give it your locked pdf file and it generates an unlocked pdf for you in the new browser window.
Ensode - Free PDF Unlock Online Utility (Beta)
cool stuff..
Blogged with the Flock Browser
Sunday, March 16, 2008
UseMod Wiki: TextFormattingRules
Rubyforge projects use this wiki engine. UsedMod
Its a bit different from wikipedia (media wiki) and therefore, one might have to carefully look at the formatting tricks and tips.
Here's some help.
UseMod Wiki: TextFormattingRules
Its a bit different from wikipedia (media wiki) and therefore, one might have to carefully look at the formatting tricks and tips.
Here's some help.
UseMod Wiki: TextFormattingRules
Blogged with the Flock Browser
Saturday, March 15, 2008
so many new technologies...
It was my first weekend after I started working on my domain name and website. The last I was doing something with web technologies was like a few years back. Kinda nostalgic in that sense.
There are many new technologies coming around the place, and sometimes I feel left out. When I started digging this time around, I got to know a few more things.
So many new things I learned in one day...
There are many new technologies coming around the place, and sometimes I feel left out. When I started digging this time around, I got to know a few more things.
So many new things I learned in one day...
- Mephisto - blogging engine
- Typo - Another blogging engine
- Trac - SCM engine , used for bug tracking etc.
- Intro to Capistrano - the magical deployment tool from rails framework. Some documentation from my hosting people also on integrating capistrano.
- FastCGI and its usage with rails
My new domain is up and running...and supports rails too...
Finally, after a day and a half of my ordering/starting the process of getting my own domain/site, its up and running.
The dns entries for blogs are set up, the subdomains are set up, and a very basic home page is also up and running. Check it out here... www.sraghav.in
The mail address is going to change forever, I guess. Now onwards, my mail address is going to be on this new domain, instead of something or other at gmail or yahoo... Always hated the fact that I cant get my easy and favourite name to become my mail id... Finally, I get it... :)
The dns configuration for blogs is one sweet thing. I have to appreciate the way blog hosters like blogger and wordpress (to name a few) allow you to call your blog something or other in the browser url, and still happily allow the stuff to be hosted at their site. Now, my blogs are all named according to my wish on my domain.. e.g. techaghav.blogspot.com is now going to be called tech.sraghav.in
I am yet to read more on dns record types and how they actually work behind the scenes, but I understood that you need to create a CNAME (Canonical Name) record in your dns server for the target server (blogger). This will redirect the incoming request (coming at sraghav.in) to target server (blogger) without reflecting the redirection to the source browser. so the browser still thinks that its talking to .sraghav.in while the dns entry makes it talk to .blogspot.com
Love the technology behind this.
My web hosting company, railsplayground.com allows ruby on rails hosting as well. And, that was my primary reason to choose them over other web-hosting providers. Not so costly and still nice services for a basic rails deployment/hosting service. They provide ssh access and subversion access and what not. Almost everything I could think of as a developer, looking for a foothold in rails. Cool people. :)
The dns entries for blogs are set up, the subdomains are set up, and a very basic home page is also up and running. Check it out here... www.sraghav.in
The mail address is going to change forever, I guess. Now onwards, my mail address is going to be on this new domain, instead of something or other at gmail or yahoo... Always hated the fact that I cant get my easy and favourite name to become my mail id... Finally, I get it... :)
The dns configuration for blogs is one sweet thing. I have to appreciate the way blog hosters like blogger and wordpress (to name a few) allow you to call your blog something or other in the browser url, and still happily allow the stuff to be hosted at their site. Now, my blogs are all named according to my wish on my domain.. e.g. techaghav.blogspot.com is now going to be called tech.sraghav.in
I am yet to read more on dns record types and how they actually work behind the scenes, but I understood that you need to create a CNAME (Canonical Name) record in your dns server for the target server (blogger). This will redirect the incoming request (coming at sraghav.in) to target server (blogger) without reflecting the redirection to the source browser. so the browser still thinks that its talking to .sraghav.in while the dns entry makes it talk to .blogspot.com
Love the technology behind this.
My web hosting company, railsplayground.com allows ruby on rails hosting as well. And, that was my primary reason to choose them over other web-hosting providers. Not so costly and still nice services for a basic rails deployment/hosting service. They provide ssh access and subversion access and what not. Almost everything I could think of as a developer, looking for a foothold in rails. Cool people. :)
Friday, March 14, 2008
On Bloger templates are making money with google
some links in response to a question I posted about blogger templates...
http://help.blogger.com/?page=wishlist
http://betabloggerfordummies.blogspot.com
http://seoblogadsense.blogspot.com
http://widgetry.blogspot.com
http://tipsforbloggers.blogspot.com
http://help.blogger.com/?page=wishlist
http://betabloggerfordummies.blogspot.com
http://seoblogadsense.blogspot.com
http://widgetry.blogspot.com
http://tipsforbloggers.blogspot.com
Got my new domain...
Ordered my new domain name sraghav.in
Got some hosting services from www.railsplayground.net people.
Still waiting on the activation mail, with dns servers info and all that.
Got some hosting services from www.railsplayground.net people.
Still waiting on the activation mail, with dns servers info and all that.
Naming convention of Ubuntu Releases
I've always wondered why and how these people at ubuntu core group chose such names.
Well, its hard to say that the names are good or bad, most of the times such word mean something or other in some or other language, for sure.
Still, if there was some scheme behind naming the versions, I didnt know about it.
Recently found out that, and here are details - DevelopmentCodeNames - Ubuntu Wiki
Well, its hard to say that the names are good or bad, most of the times such word mean something or other in some or other language, for sure.
Still, if there was some scheme behind naming the versions, I didnt know about it.
Recently found out that, and here are details - DevelopmentCodeNames - Ubuntu Wiki
Blogged with the Flock Browser
How To: Install OS X on Your Hackintosh PC, No Hacking Required
Found this interesting page... I am pretty sure there are other sites and pages talking about similar stuff.
How To: Install OS X on Your Hackintosh PC, No Hacking Required
I still have to check out how it works, but looks like a very interesting idea to start with...
How To: Install OS X on Your Hackintosh PC, No Hacking Required
I still have to check out how it works, but looks like a very interesting idea to start with...
Blogged with the Flock Browser
Thursday, March 13, 2008
My own domain name...
For some time, I have been thinking of getting my own domain name, and thereafter get rid of all these .blogspot.com or .wordpress.com kind of names for blogs. Will also get rid of email addresses from gmail or yahoo or likes.
The idea is pretty interesting and right now I am evaluating whether its a financially feasible thing to do.
Well, I checked at a few domain name registration sites and it doenst sound very costly to start with. However you have to be careful reading their pricing models. It IS misleading.
e.g. when you find a domain at www.networksolutions.com, they say that it costs 10 USD. Fine, that looks cheap and so you move on. When you finally land on the checkout page, you find that its not actually $10, but $29.99. The $10 mentioned at the first page was actually something else. Some private registration thing, but the actual domain name costs you three times that.
Similarly when I was checking this on an Indian registrar http://www.net4.in , their site was advertising that .in domains cost on Rs. 199. Fine, thats pretty cheap actually. I went ahead and when I landed on checkout page there, it turned out that 199 is only the cost for 1st year. Second and third years cost about 4-5 times first year. And therefore, you are lured only because of the first year promotional pricing.
A friend was suggesting earlier to use dyndns for this. The idea was, buy a domain name, buy a customer dns from dyndns guys. Then it would be a job of configuring the dns entries in a right way. So that,
a call to techblog.mydomain.com goes automatically to techraghav.blogspot.com,
and still maintains the url for mydomain.com...
I am not sure if that would work technically or not, but that could be a much cheaper solution. Custom DNS at dyndns.org costs about $ 28 per year. domain would cost about $10 per year. Sounds ok.
Also, I am not sure what kind of dns mgmt freedom is available when I buy web space with some hosting company....
I have posted this dns configuration question to dyndns.org forums also.. lets see how they come back.
Reading about dns records etc.. List of DNS record types - Wikipedia, the free encyclopedia
The idea is pretty interesting and right now I am evaluating whether its a financially feasible thing to do.
Well, I checked at a few domain name registration sites and it doenst sound very costly to start with. However you have to be careful reading their pricing models. It IS misleading.
e.g. when you find a domain at www.networksolutions.com, they say that it costs 10 USD. Fine, that looks cheap and so you move on. When you finally land on the checkout page, you find that its not actually $10, but $29.99. The $10 mentioned at the first page was actually something else. Some private registration thing, but the actual domain name costs you three times that.
Similarly when I was checking this on an Indian registrar http://www.net4.in , their site was advertising that .in domains cost on Rs. 199. Fine, thats pretty cheap actually. I went ahead and when I landed on checkout page there, it turned out that 199 is only the cost for 1st year. Second and third years cost about 4-5 times first year. And therefore, you are lured only because of the first year promotional pricing.
A friend was suggesting earlier to use dyndns for this. The idea was, buy a domain name, buy a customer dns from dyndns guys. Then it would be a job of configuring the dns entries in a right way. So that,
a call to techblog.mydomain.com goes automatically to techraghav.blogspot.com,
and still maintains the url for mydomain.com...
I am not sure if that would work technically or not, but that could be a much cheaper solution. Custom DNS at dyndns.org costs about $ 28 per year. domain would cost about $10 per year. Sounds ok.
Also, I am not sure what kind of dns mgmt freedom is available when I buy web space with some hosting company....
I have posted this dns configuration question to dyndns.org forums also.. lets see how they come back.
Reading about dns records etc.. List of DNS record types - Wikipedia, the free encyclopedia
Blogged with the Flock Browser
Subscribe to:
Posts (Atom)