Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
comment port and update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Amblizer committed Jun 2, 2019
1 parent 2c95417 commit 8762cb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions containers/ruby-2-sinatra/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"rebornix.Ruby"
],

// Change the port number if you are not using default port in Sinatra
"appPort": [4567],
// Uncomment and edit the next line if you want to publish any ports.
// "appPort": ["4567:4567"]

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": "ruby ./app -o 0.0.0.0 -p 80"
// "postCreateCommand": ""

}
2 changes: 1 addition & 1 deletion containers/ruby-2-sinatra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This definition includes some test code that will help you verify it is working
3. Start VS Code, press <kbd>F1</kbd>, and select **Remote-Containers: Open Folder in Container...**
4. Select the `containers/ruby-2-sinatra` folder.
5. After the folder has opened in the container, press <kbd>F5</kbd> to start the project.
6. You should see "Try http://localhost:4567/ in the browser!" in the Debug Console, and by browsing http://localhost:4567/ you should see "Hello from Sinatra!".
6. You should see "Try http://localhost:4567/ in the browser!" in the Debug Console. Press <kbd>F1</kbd>. Select **Remote-Containers: Forward Porrt From Container...** then choose **Forward 4567**, and by browsing http://localhost:4567/ you should see "Hello from Sinatra!".
7. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing.

## License
Expand Down

0 comments on commit 8762cb3

Please sign in to comment.