https://github.com/userrails/hello-world
hello world app with ruby, sinitra and rspec
https://github.com/userrails/hello-world
Last synced: 3 months ago
JSON representation
hello world app with ruby, sinitra and rspec
- Host: GitHub
- URL: https://github.com/userrails/hello-world
- Owner: userrails
- Created: 2018-12-18T05:05:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-18T05:05:56.000Z (over 6 years ago)
- Last Synced: 2025-01-10T12:56:51.287Z (4 months ago)
- Language: Ruby
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# How to run the program
- This program is build using ruby, so install ruby from https://www.ruby-lang.org/en/documentation/installation/
- Make sure ruby is installed by running `ruby -v`, Now change directory into project root example `cd ~/console-app`
- Run `bundle install` to install all dependencies
- Run `Hello World` console application with `ruby hello_world.rb`
- Run `api` application with `ruby api/hello_world.rb`, it will run server in port `4567`, so you can visit api at http://localhost:4567
- We are using `rspec` for writing testcases, run test cases with `rspec`