https://github.com/rubyhcm/rails_engine
https://github.com/rubyhcm/rails_engine
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rubyhcm/rails_engine
- Owner: rubyhcm
- Created: 2024-01-19T02:07:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T03:01:47.000Z (almost 2 years ago)
- Last Synced: 2025-01-28T15:14:06.533Z (about 1 year ago)
- Language: Ruby
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Installation
Add this line to your application's Gemfile:
```ruby
gem "blog_engine"
```
And then execute:
```bash
$ bundle
```
Or install it yourself as:
```bash
$ gem install blog_engine
```
# Run new app
```rails plugin new blog_engine --mountable```
```rake blog_engine:install:migrations```
add ```//= link blog_engine/application.css``` to ```manifest.js```
or create ```blog_engine/config/initializers/assets.rb``` and add below code into it:
```Rails.application.config.assets.precompile += %w( blog_engine/application.css blog_engine/application.js )```