{"id":18104901,"url":"https://github.com/springmt/hello_world_rack","last_synced_at":"2025-10-17T18:27:44.150Z","repository":{"id":2656262,"uuid":"3646982","full_name":"SpringMT/hello_world_rack","owner":"SpringMT","description":"hello_world_rack","archived":false,"fork":false,"pushed_at":"2012-03-20T15:56:12.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T06:18:46.143Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpringMT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-07T07:49:05.000Z","updated_at":"2017-11-10T06:38:55.000Z","dependencies_parsed_at":"2022-08-29T10:11:27.729Z","dependency_job_id":null,"html_url":"https://github.com/SpringMT/hello_world_rack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SpringMT/hello_world_rack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Fhello_world_rack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Fhello_world_rack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Fhello_world_rack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Fhello_world_rack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpringMT","download_url":"https://codeload.github.com/SpringMT/hello_world_rack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Fhello_world_rack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266658117,"owners_count":23963635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-31T22:16:17.935Z","updated_at":"2025-10-07T05:27:21.233Z","avatar_url":"https://github.com/SpringMT.png","language":"Ruby","readme":"# This is only show \"Hello World\" rack app\n\n## setup\n\n~~~\nroot\n# yum install git \n# yum install libyaml libyaml-devel\n# yum install zlib-devel\n# yum install openssl-devel\n# yum install curl-devel\n\nruby setup\n$ git clone git://github.com/sstephenson/rbenv.git .rbenv\n$ echo 'export PATH=\"$HOME/.rbenv/bin:$PATH\"' \u003e\u003e ~/.bash_profile\n$ echo 'eval \"$(rbenv init -)\"' \u003e\u003e ~/.bash_profile\n$ exec $SHELL\n$ mkdir src\n$ cd src\n$ wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz\n$ tar zxf ruby-1.9.3-p125.tar.gz \n$ cd ruby-1.9.3-p125\n$ ./configure —prefix=$HOME/.rbenv/versions/1.9.3-p125\n$ make \n$ make install\n$ cd \n$ rbenv global 1.9.3-p125\n$ source .bash_profile \n\n$ git clone git://github.com/SpringMT/hello_world_rack.git\n$ cd hello_world_rack \n$ bundle install\n$ bundle exec  passenger-install-apache2-module \n~~~\n\n## rackup test\n\n~~~\n$ cd ~/hello_world_rack\n$ rackup -I . -p 3000\naccess http://localhost:3000\n~~~\n\n## passenger\n* passenger need apache \n\n~~~~\n\nEdit httpd.conf\nMac /private/etc/apache2/httpd.conf\nLinux /etc/http/conf/httpd.conf\n\nadd berow text at httpd.conf\nInclude $HOME/hello_world_rack/*.conf\nPlease rewrite $HOME properly based on your env.\n\nand rewrite passenger.conf properly\n~~~~\n\n## unicorn\n\n~~~\n$ cd ~/hello_world_rack\nbundle exec unicorn -I ./ -p 3000 -D -c unicorn.rb \naccess http://localhost:3000\n~~~\n\n## nginx\n\n~~~\nbrew install nginx or yum install nginx\n\nEdit nginx.conf for properly\nMac /usr/local/etc/nginx/nginx.conf\nLinux \n\n~~~\n\n\n## performance test\n\n~~~\nab -c 10 -n 100 [PATH] \n~~~\n\n## plack\n\n~~~\nmkdir extlib\nwget --no-check-certificate http://cpanmin.us/\n\ncurl -L http://xrl.us/perlbrew \u003e perlbrew\necho 'export PATH=\"$HOME/.rbenv/bin:$PATH\"' \u003e\u003e ~/.bash_profile\nperl perlbrew install\nrm perlbrew\necho 'source $HOME/perl5/perlbrew/etc/bashrc' \u003e\u003e ~/.bashrc\nsource .bashrc\nperlbrew init\nperlbrew install 5.14.2\nperlbrew switch perl-5.14.2\nperl cpanm -v -L extlib Module::CoreList\nperl cpanm -v -L extlib Module::Install CPAN\nperl cpanm -v -L extlib Plack\nperl cpanm -v -L extlib Starman\nperl cpanm -v -L extlib Plack::Runner\n\nstarman --workers=60 -p 3000 app.psgi\n~~~\n\n## thin\n\n~~~\nbundle exec thin start --servers 30 -d\n~~~\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmt%2Fhello_world_rack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringmt%2Fhello_world_rack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmt%2Fhello_world_rack/lists"}