I am new to RoR and finally got it installed (I think). I used
railsInstaller: http://railsinstaller.org/ and downloaded ‘vim’. I was
unable to install RoR manually the first time since I stumbled across
a slight error ‘lib’ file missing so I used the railsInstaller and got
it going. I tested it on http://localhost:3000/ and its displaying
fine. I terminated the page using ‘Ctrl + C’ and refresh the localhost
page and it was not displaying. So far so good.
fine. I terminated the page using ‘Ctrl + C’ and refresh the localhost
page and it was not displaying. So far so good.
My question is:
How do I create an web app to a specific URL?
Once you’ve got an app ready you’ll need to deploy it to a server and
get a domain name for it. Heroku is a good option if you just want to
play around for free
Where is the database suppose go to or link to?
Not sure what you mean there
I open up vim but not sure what to do here?
It’s a text editor. Work out what files you want to create/edit in
your app, use vim to do so (or any other text editor you like - you
don’t have to use vim). You might want to read some of the guides at
fine. I terminated the page using ‘Ctrl + C’ and refresh the localhost
page and it was not displaying. So far so good.
My question is:
How do I create an web app to a specific URL?
Where is the database suppose go to or link to?
I open up vim but not sure what to do here?
Start by working through some rails tutorials. railstutorial.org is
good and is free to use online. Also work through the Rails Guides,
starting with ‘Getting Started’ obviously.
With regard to using vim as the editor, any text editor will suffice
so just use whichever one you already use for development.
Unless you are absolutely stuck with using windows then I suggest
using this as an excuse to try out a linux distribution such as
Ubuntu. Most of those developing rails apps use linux or Mac and it
is generally more straightforward. I can almost guarantee that you
would not regret the time spent learning Ubuntu, it is great to feel
back in control of the PC again.
I don’t know anything about Ubuntu but I’m reading it now and its like
another OS for linux. I will read the reviews and make my decision from
there.
Too easy, thanks
The server will need rails, ruby etc. installed. With some providers
you have to do that yourself, others will take care of that for you.
Most rails apps do indeed use a database although you don’t have to.
Mysql and postgresql are 2 commonly used ones.
Ok, if I install RoR on my web/hosting server using this domain name
e.g. test.abc.com.au, how does the CMD connects to it? I sort of know
how to use MySql but that’s from creating a database through Cpanel,
etc.
Ok, if I install RoR on my web/hosting server using this domain name
e.g. test.abc.com.au, how does the CMD connects to it? I sort of know
how to use MySql but that’s from creating a database through Cpanel,
etc.
as it how do you run commands on that server. Normally you would ssh
to that server and run the commands there. Heroku is a bit special
though - i’d start by reading through the articles at
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.