File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33This 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
919rails 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
1227cd hello-world
1328rails 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
You can’t perform that action at this time.
0 commit comments