Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lethang7794/rails_sample_app
A Twitter clone app built "almost from scratch" with Ruby on Rails.
https://github.com/lethang7794/rails_sample_app
bootstrap3 css html javascript jquery rails-tutorial ruby ruby-on-rails-6 ruby-on-rails-tutorial scss social-network web-application web-development
Last synced: about 1 month ago
JSON representation
A Twitter clone app built "almost from scratch" with Ruby on Rails.
- Host: GitHub
- URL: https://github.com/lethang7794/rails_sample_app
- Owner: lethang7794
- License: other
- Created: 2020-05-07T06:50:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T18:46:40.000Z (almost 2 years ago)
- Last Synced: 2024-09-27T16:21:01.987Z (about 2 months ago)
- Topics: bootstrap3, css, html, javascript, jquery, rails-tutorial, ruby, ruby-on-rails-6, ruby-on-rails-tutorial, scss, social-network, web-application, web-development
- Language: Ruby
- Homepage: https://rails-sample-app-7794.herokuapp.com/
- Size: 1.89 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Ruby on Rails Tutorial sample application
This is the sample application for
[*Ruby on Rails Tutorial:
Learn Web Development with Rails*](https://www.railstutorial.org/)
(6th Edition)
by [Michael Hartl](https://www.michaelhartl.com/).Basically, this is a Twitter clone app built "from scratch" with Ruby on Rails.
[Demo app can be access here](https://rails-sample-app-7794.herokuapp.com/).
## Prerequisite
* Ruby 2.7.1
* NodeJS
* Yarn## Getting started
To get started with the app, clone the repo and 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
```
## Note:
If you can't start the server, and the error is
```
Your Yarn packages are out of date!
Please run `yarn install --check-files` to update.
```
Just run
```
yarn install --check-files
```
or
```
yarn --update-checksums
```
and start the local server again.## License
All source code in the [Ruby on Rails Tutorial](https://www.railstutorial.org/)
is available jointly under the MIT License and the Beerware License. See
[LICENSE.md](LICENSE.md) for details.