Skip to content

timff/simple-sinatra-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REA site performance pre-interview task

Provision a new application server and deploy the following application

write configuration as code recipes in chef / puppet / ansible / babushka / shell scripts to

  • deploy this application onto a vanilla OS image (Centos/Fedora/Ubuntu/Debian/RHEL)
  • use apache modpassenger / unicorn nginx or whatever you like to serve up the application on port 80
  • provision a web server with ruby to deploy the packaged Sinatra application
  • ensure that the server is locked down and secure
  • deploy the hello world application

Expected output

  • chef / puppet / ansible / babushka / shell scripts that we can use to deploy the following application

To get this application working locally

git clone git://github.com/tnh/simple-sinatra-app.git
shell $ bundle install
shell $ bundle exec rackup

Mod passenger: http://www.modrails.com/documentation/Users%20guide%20Apache.html

Unicorn nginx: http://sirupsen.com/setting-up-unicorn-with-nginx/

About

example sinatra app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 53.1%
  • ApacheConf 23.7%
  • Nginx 15.3%
  • Ruby 7.9%