https://github.com/imhta/sample_rails_app
This is the sample application for Ruby on Rails Tutorial: Learn Web Development with Rails by Michael Hartl.
https://github.com/imhta/sample_rails_app
rails ruby-on-rails-tutorial sample-rails
Last synced: 23 days ago
JSON representation
This is the sample application for Ruby on Rails Tutorial: Learn Web Development with Rails by Michael Hartl.
- Host: GitHub
- URL: https://github.com/imhta/sample_rails_app
- Owner: imhta
- License: mit
- Created: 2019-08-12T14:56:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T14:26:01.000Z (over 3 years ago)
- Last Synced: 2025-01-20T17:18:05.668Z (over 1 year ago)
- Topics: rails, ruby-on-rails-tutorial, sample-rails
- Language: Ruby
- Homepage:
- Size: 271 KB
- Stars: 1
- Watchers: 0
- Forks: 2
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sample_rails_app
This is basic application from [railstutorial](https://www.railstutorial.org/book), Here we develop a sample app demo application to show off some of the power of Rails. The purpose is to get a high-level overview of Ruby on Rails programming (and web development in general) by rapidly generating an application using scaffold generators, which create a large amount of functionality automatically.
## Prerequisite
- Ruby 2.6.3
- Rails 5.2.3
## Getting started
```
git clone https://github.com/imhta/sample_rails_app.git
cd sample_rails_app
```
To get started with the app, clone the repo and then install the needed gems:
```
bundle install --without production
```
Next, migrate the database:
```
rails db:migrate
```
Finally, run the test suite to verify that everything is working correctly:
```
rails test
```
If the test suite passes, you'll be ready to run the app in a local server:
```
rails server
```
## Author
- [@imhta](https://github.com/imhta)