In order to run the my Rails application on Windows XP I open a command line, cd to application's directory, and then run rails server
.
I would like to automate this, such that every time I turn on my computer, all I'll have to do is to type localhost:3000
in a browser.
How could I do this ?
The simpler way is to create a batch file with the instruction what you give in the command prompt like
d:
cd projects\myapp
ruby script\server
and then drop a copy of the file to Windows Start -> All Programs -> start up folder.