https://github.com/tonytonyjan/rails-engine-sample
Demonstrate how to convert an Rails app into engine, and mount to another.
https://github.com/tonytonyjan/rails-engine-sample
Last synced: 4 months ago
JSON representation
Demonstrate how to convert an Rails app into engine, and mount to another.
- Host: GitHub
- URL: https://github.com/tonytonyjan/rails-engine-sample
- Owner: tonytonyjan
- Created: 2012-12-22T08:14:16.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-22T08:14:44.000Z (over 12 years ago)
- Last Synced: 2025-01-22T20:11:27.473Z (5 months ago)
- Language: Ruby
- Size: 141 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
## Usage
1. Enter `app_host`
2. `bundle install`
3. `rake app_full_engine:install:migrations`
4. `rake app_full_engine:install:migrations`
5. `rake db:migrate`
6. `rails s`Then you can access:
* `/posts`, it's obtained from `app_host` it self
* `/projects`, it's obtained from `app_full`
* `/haha/posts`, it's obtained from `app_mountable`