Small workshop on ruby and web development with the use of it
Just follow the steps below to set up the development enviroment.
- Clone this repository by running the following command inside your terminal:
git clone https://github.com/aniats/MLH-Show-and-Tell.git
- Installing dependencies and running web application:
-
For a "single" scripts you just have to:
cd small_examples ruby hello_world.rb
-
For a web apps:
- Install bundler gem, if you don't have it.
cd triangles_web_app gem install bundler
Note:
If you're running scripts in UNIX you might have to add "sudo".sudo gem install bundler
- Install necessary gems
bundle install
- Run server
rerun rackup
- Go to http://localhost:9292/