Skip to content

Commit a50a8a3

Browse files
author
Cory Fowler
authored
Update README.md
1 parent 50e72fd commit a50a8a3

1 file changed

Lines changed: 22 additions & 2 deletions

File tree

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,35 @@
22

33
This sample demonstrates creating a simple Hello World app built with Ruby on Rails that is deployed as an Azure Web App.
44

5-
# Prepare app
6-
cd ~/workspace/hello-world
5+
# Prepare app
6+
7+
To make a new rails app, create a folder to contain the source code, then navigate into it.
8+
9+
```bash
10+
mkdir workspace
11+
cd workspace
12+
```
713

814
# Creates new rails app
15+
16+
Next, run the `rails new` command to create your application.
17+
18+
```bash
919
rails new hello-world --skip-yarn
20+
```
1021

1122
# Run rails server locally
23+
24+
Finally, navigate to the hello-world folder, and run `rails server` to launch the rails app in a browser.
25+
26+
```bash
1227
cd hello-world
1328
rails server
29+
```
30+
31+
Navigate to http://localhost:3000, to see the running application.
32+
33+
![Rails Hello World App](https://docs.microsoft.com/en-us/azure/app-service-web/media/app-service-linux-ruby-get-started/hello-world.png)
1434

1535
# Contributing
1636

0 commit comments

Comments
 (0)