Ending one story and beginning another

Over the past few months, I’ve written a series on our journey into minimizing. It has included the trials and tribulations of moving from a 2,300 square foot home into an 835 square foot apartment…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Quickly Get Up And Running With Rails

Spent some time learning Ruby and are now wondering how to get a web page going? In this blog I’ll be showing you a quick glance at how Ruby on Rails can expedite this process and build you a full fledge website in minutes. All you need is your Terminal and a text editor of your choice. I’ll be using Visual Studio Code for this example, but you it should look pretty identical your own editor.

First thing is first open your terminal and create a directory that will house your project. While inside of that directory, input rails new.

This will create a brand new rails project for you, building the file structure for your project and installing all the dependencies needed to make a backend and put your project online.

If you open your project within your text editor, you should see the file structure that that one command created. Pretty neat right? From here you can continue to create the files that you need to fully flesh out your page. Now I’m going to show you how to see what your project looks like in your browser.

Go back to your Terminal and input the command rails s or rails server while within your project’s directory.

Thanks for reading and Happy Coding!

Add a comment

Related posts:

Gemini April 2018 Horoscope.

You have been abuzz lately and the Gemini always feels a little busy, but maybe it’s time to sweeten your spring by saying yes to a couple of dates/ Even if you are in a relationship, you can get…

Why You Need To Get Comfortable Being Uncomfortable

For the past few days, I’ve just felt a bit… meh. It’s not been particularly bad, but I’ve not felt great either. “Because you’re boring.” “Because you’re not doing enough.”…

Ethernet in a Few Years

When thinking about new technology from the future, it is very hard to predict what will happen or what will even be made. Who would have thought that the smartphone would be made and be…