Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cheezenaan-sandbox/sample_app_rev4
Sample application forked from https://railstutorial.jp/
https://github.com/cheezenaan-sandbox/sample_app_rev4
docker rails rails-tutorial ruby
Last synced: 21 days ago
JSON representation
Sample application forked from https://railstutorial.jp/
- Host: GitHub
- URL: https://github.com/cheezenaan-sandbox/sample_app_rev4
- Owner: cheezenaan-sandbox
- License: mit
- Created: 2018-01-06T06:04:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-08T23:01:56.000Z (2 months ago)
- Last Synced: 2025-01-18T22:32:32.875Z (27 days ago)
- Topics: docker, rails, rails-tutorial, ruby
- Language: Ruby
- Size: 405 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ruby on Rails Tutorial sample application
[![Build Status](https://travis-ci.org/cheezenaan-sandbox/sample_app_rev4.svg?branch=master)](https://travis-ci.org/cheezenaan-sandbox/sample_app_rev4)
This is the sample application based on
[_Ruby on Rails Tutorial:
Learn Web Development with Rails_](http://www.railstutorial.org/)
by [Michael Hartl](http://www.michaelhartl.com/).## Getting started
To get started with the app, clone the repo and then install dependencies:
```
$ docker-compose run --rm node yarn install
$ docker-compose run --rm spring bundle install
```Next, build frontend assets:
```
$ docker-compose run --node /bin/sh -c "yarn lint && yarn build"
```Then, migrate the database:
```
$ docker-compose run --rm spring bin/rails db:create db:migrate
```Finally, run the test suite to verify that everything is working correctly:
```
$ docker-compose run --rm spring bin/rspec
```If the test suite passes, you'll be ready to run the app in a local server:
```
$ docker-compose up -d app node
```