{"id":15405601,"url":"https://github.com/krisleech/rails-stack","last_synced_at":"2025-03-24T21:41:16.003Z","repository":{"id":2696364,"uuid":"3689693","full_name":"krisleech/rails-stack","owner":"krisleech","description":"Rails stack for solo server using Sprinkle","archived":false,"fork":false,"pushed_at":"2013-07-25T15:52:27.000Z","size":136,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T04:44:46.779Z","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/krisleech.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-11T21:04:08.000Z","updated_at":"2013-10-01T02:10:56.000Z","dependencies_parsed_at":"2022-07-18T23:18:31.188Z","dependency_job_id":null,"html_url":"https://github.com/krisleech/rails-stack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Frails-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Frails-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Frails-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Frails-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krisleech","download_url":"https://codeload.github.com/krisleech/rails-stack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245359248,"owners_count":20602322,"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","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-01T16:17:26.651Z","updated_at":"2025-03-24T21:41:15.977Z","avatar_url":"https://github.com/krisleech.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Assuming you have a secured server you can provision your server with an entire\nRails stack in just a few commands using this recipie for Sprinkle.\n\nThis stack includes Zsh, MySQL, Apache/Passenger, Git and Ruby 1.9.2\n\nNote: You should secure your server *before* provisioning it.\n\nAUTOMATIC INSTALL OF RAILS STACK \n================================\n\nOn your development machine:\n\n```shell\ngit clone git://github.com/krisleech/rails-stack.git\ncd rails-stack\nbundle install\ncp config/deploy.example.rb config/deploy.rb\nvim deploy.rb\nsprinkle -c -s config/install.rb\n```\n\nMANUALLY SECURE SERVER\n======================\n\n```shell\nssh root@example.com\n\n# change your root pasword\npasswd\n\n# add a new user and allow them to sudo\nsudo adduser deploy\nsudo usermod -a -G sudo deploy\n\nexit\n```\n\n```shell\n# upload your ssh key for passwordless login\nscp ~/.ssh/identity.pub deploy@example.com:.\n\nssh deploy@example.com\n\nmkdir ~/.ssh\nmv identity.pub ~/.ssh/authorized_keys\nchmod 700 ~/.ssh\nchmod 600 ~/.ssh/authorized_keys\n\nexit\n```\n\n```shell\n# disable root and password login\nssh deploy@example.com\nsudo vim /etc/ssh/sshd_config\n  PermitRootLogin no \n  PasswordAuthentication no\nsudo service ssh restart\n\n# Install denyhosts\nsudo apt-get update\nsudo apt-get install denyhosts \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisleech%2Frails-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrisleech%2Frails-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisleech%2Frails-stack/lists"}