{"id":21240145,"url":"https://github.com/msuliq/rails-microblog","last_synced_at":"2026-05-15T01:06:48.113Z","repository":{"id":41806914,"uuid":"483952117","full_name":"msuliq/rails-microblog","owner":"msuliq","description":"Small-scale microblog app build on Ruby on Rails","archived":false,"fork":false,"pushed_at":"2022-09-21T12:55:16.000Z","size":1437,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T19:31:40.767Z","etag":null,"topics":["rails","ruby"],"latest_commit_sha":null,"homepage":"https://rails-microblogg.herokuapp.com/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msuliq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.MD","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-21T07:36:24.000Z","updated_at":"2022-09-21T12:52:40.000Z","dependencies_parsed_at":"2023-01-18T12:31:56.054Z","dependency_job_id":null,"html_url":"https://github.com/msuliq/rails-microblog","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/msuliq%2Frails-microblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msuliq%2Frails-microblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msuliq%2Frails-microblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msuliq%2Frails-microblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msuliq","download_url":"https://codeload.github.com/msuliq/rails-microblog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681005,"owners_count":20330155,"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":["rails","ruby"],"created_at":"2024-11-21T00:48:53.373Z","updated_at":"2025-10-27T20:35:26.205Z","avatar_url":"https://github.com/msuliq.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample microblog application\n\nThis is the sample microblog application developed using Ruby on Rails and fourth edition of the [*Ruby on Rails Tutorial: Learn Web Development with Rails*](https://www.railstutorial.org/) by [Michael Hartl](https://www.michaelhartl.com/).\n\nInitially the app was written using Ruby 2.2 and Rails 4. Based on that code was optimized and below is snapshot of major upgrades and improvements, not counting minor tweaks:\n\n    Ruby 2.2 \u003e 2.4 \u003e 2.6 \u003e 3.1\n    Rails 4 \u003e 5 \u003e 6 \u003e 7\n    sprockets, sass-rails, bootstrap-sass \u003e webpacker, npm \u003e\u003e esbuild, css/jsbundling, propshaft\n    carrierwave \u003e active_storage\n    mini_magick \u003e vips\n    turbolinks \u003e turbo-rails\n    will_paginate \u003e pagy\n    bootstrap 3 \u003e bootstrap 5\n\n## License\nAll source code is available under the MIT License. See [LICENSE.MD](https://github.com/msuliq/rails-microblog/blob/master/LICENSE.MD) for details.\n\n## Getting started\nTo get started with the app, clone the repo and then install the needed gems. You can clone the repo as follows:\n\n```\n$ git clone https://github.com/msuliq/rails-microblog.git \n$ cd rails-microblog/\n```\n\nTo install the gems, you will need the same versions of Ruby and Bundler used to build the sample app, which you can find using the cat and tail commands as follows:\n\n```\n$ cat .ruby-version\n\u003cRuby version number\u003e\n$ tail -n1 Gemfile.lock\n   \u003cBundler version number\u003e\n```\n\nNext, install the versions of ruby and the bundler gem from the above commands. The Ruby installation is system-dependent. If you are using rvm you can type following commands in the terminal:\n\n```\n$ rvm get stable\n$ rvm install \u003cRuby version number\u003e\n$ rvm --default use \u003cRuby version number\u003e\n```\n\nSee the section [\"Up and running\" of the Rails Tutorial](https://www.learnenough.com/ruby-on-rails-7th-edition-tutorial#sec-up_and_running) for more details. Once Ruby is installed, the bundler gem can be installed using the gem command:\n\n```\n$ gem install bundler -v \u003cversion number\u003e\n```\n\nThen the rest of the necessary gems can be installed with bundle (taking care to skip any production gems in the development environment):\n\n```\n$ bundle _\u003cversion number\u003e_ config set --local without 'production'\n$ bundle _\u003cversion number\u003e_ install\n```\n\nHere you should replace `\u003cversion number\u003e` with the actual version number. For example, if `\u003cversion number\u003e` is `2.3.11`, then the commands should look like this:\n\n```\n$ gem install bundler -v 2.3.11\n$ bundle _2.3.11_ config set --local without 'production'\n$ bundle _2.3.11_ install\n```\n\nNext, migrate the database:\n\n```\n$ rails db:migrate\n```\n\nFinally, run the test suite to verify that everything is working correctly:\n\n```\n$ rails test\n```\n\nIf the test suite passes, you’ll be ready to seed the database with sample users and run the app in a local server:\n\n```\n$ rails db:seed\n$ bin/dev\n```\n\nFollow the instructions in terminal to view the app. The http address might look like `http://127.0.0.1:3000`.\n\n## Deployment\nThis sample microblog app is deployed to Heroku at [*rails-microblogg*](https://rails-microblogg.herokuapp.com) with free-tier dyno. Due to Heroku's change in policy and discontinuation of offering free-tier dynos, the app will no longer be available in production environment after Octber 26, 2022.\n\nThe full production app includes several advanced features, including sending email through SMTP and storing uploaded images with AWS S3.\n\nVisiting the URL above should show you the sample app running in production. There you can register as a new user or log in as non-admin user with the email `example@railstutorial.org` and password `foobaz`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsuliq%2Frails-microblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsuliq%2Frails-microblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsuliq%2Frails-microblog/lists"}