By margalimited
I’m using ruby on rails one click installer
What I’ve done so far is
1.rvm use 2.0.0
2.rails new website
3.rails generate scaffold status name:string content:text
4.rake db:migrate
5.rails server
Goto my digital ocean I.P
http://165.233.62.89/statuses/
But I get message
"The page you were looking for doesn’t exist.
You may have mistyped the address or the page may have moved."
Where can I find my app I’ve just started please?
Thanks for your help
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Where did you get that IP address 112.0.0.1? That should probably be 127.0.0.1.
Thank you for your help :)
this is my first time with ruby
I went to
nano /home/unicorn/unicorn.conf
listen "112.0.0.1:8080"
worker_processes 2
user "rails"
working_directory "/home/**mysite**"
pid "/home/unicorn/pids/unicorn.pid"
stderr_path "/home/unicorn/log/unicorn.log"
stdout_path "/home/unicorn/log/unicorn.log"
and
server {
listen 80;
root /home/**mysite**/public;
server_name _;
index index.htm index.html;
location / {
try_files $uri/index.html $uri.html $uri @app;
}
then I did
rails server
Then I went to
But the page was blank?
Many thanks for your help
Sorry I changed the IP address in this forum post 127.0.0.1 because I thought might be a security risk
The I.P address is 127.0.0.1
but the IP address 127.0.0.1:8080
still shows a blank page
Many thanks for your help
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.