By brandonG
Hello All
I have been stuck in this process for a while now, so I have the project ready to and are able to run it in port 3000 (I need to do rails s every time)
My question is how do I move from visiting ip:3000 to simply visiting ip? (still figuring out the dns thing)
I have tried to restart the project and test with the default home page and only devise gem, and any changes I made to the index.html.erb will show up, but the pages I added in with devise will not be there.
There was a time I played with nginx to see if it’s its problem but changing what it listens to doesn’t seem to help?
Thank you
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!
Well I started in one click install, so it comes with Nginx and Unicorn and I was trying to look for advice on fixing the problem by configuring the two.
Those tutorials are tutorials starting from a blank ubuntu droplet, is there a way to convert my current droplet to a blank one and keeping all the snapshots or I have to get a new droplets? Update:I’m rebuilding from image, but still would like to know how to go from one click install rails app to deployment though
I have this same problem. My devise isn’t working on my one 1-click ruby image either.
There are a few ways you could accomplish this. Two of the most popular are using Passenger with Apache and setting up an Nginx reverse proxy in front of it. Check out these tutorials for a run down on both options:
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.