Skip to content

mzupan/vagrant_sinatra_hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vagrant_sinatra_hello

Vagrant setup for sinatra_hello

Install

To install

git clone https://github.com/mzupan/vagrant_sinatra_hello.git
cd vagrant_sinatra_hello
vargrant up --provision

This should have everything up and running on port 8080 localhost so to test

curl http://localhost:8080/

You should get something like

Mikes-MacBook-Pro:pagerduty mike$ curl http://localhost:8080/
Hello! The current time is 18:59

To view logs for type of requests per 5 minutes run the following

vagrant ssh
tail -f ~/requests.log

The first run of the request counts will give no data since logster needs a mark in the log to work with to give valid results. So wait till the next run if you ssh in right after bootup of the VM

About

Vagrant setup for sinatra_hello

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published