Ok. I have a ruby on rails app that was sent to me. I changed directories to it in the Terminal, and did the script/server command. I pointed my browser to http://localhost:3000/. Now I'm on the "welcome aboard, you're riding rails!" Page. How do I run the app?
Forward
7 months, 3 weeks ago by
Truman K.
7 Replies
-
Looks like your server is running, so just get rid of the index.html page in the public directory.
-
just delete it? and then go back to that local url?
-
yup your ror webrick server is running but you probably need to play some commands like scaffold and stuff to make it hook up with db if your app needs one. it always important to read "readme" file because author of your ror app might want you to do stuff differently as usaul.
-
is there a command that i can enter so that the app starts when i go to the local url?
-
3.0 stars
which ruby on rails app. are you talking about? maybe post a url so the rest of us can download & try it and give you tips?
-
Are you sue this app is using apache ? it maybe a stand alone programm ?
-
Oh, I forgot did you do a migrate? Does it have a database?
If you deleted the index.html file in the public directory, you can just go to localhost:3000 and if routes are setup correctly you should see the app running.
Join Now to Reply!
To add your own reply, sign in or join Pownce today!