Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-22T08:14:44.000Z (about 12 years ago)
- Last Synced: 2024-04-09T21:30:14.324Z (9 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`