Skip to content

Commit f09b79c

Browse files
committed
Update README.md and remove unnecessary gems
1 parent 77af571 commit f09b79c

File tree

4 files changed

+35
-7
lines changed

4 files changed

+35
-7
lines changed

Gemfile.lock

-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ PATH
22
remote: .
33
specs:
44
kebapage (0.0.1)
5-
bootstrap-sass
65
bootstrap-wysihtml5-rails
76
dropzonejs-rails (= 0.4.12)
87
friendly_id
@@ -41,8 +40,6 @@ GEM
4140
tzinfo (~> 0.3.37)
4241
arel (4.0.1)
4342
atomic (1.1.14)
44-
bootstrap-sass (3.0.3.0)
45-
sass (~> 3.2)
4643
bootstrap-wysihtml5-rails (0.3.1.23)
4744
railties (>= 3.0)
4845
builder (3.1.4)
@@ -87,7 +84,6 @@ GEM
8784
rake (>= 0.8.7)
8885
thor (>= 0.18.1, < 2.0)
8986
rake (10.1.1)
90-
sass (3.2.13)
9187
sprockets (2.10.1)
9288
hike (~> 1.2)
9389
multi_json (~> 1.0)

README.md

+35-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,41 @@ Before mounting Kebapage to your application, you will need:
1010

1111
## Installing Kebapage to Cybele Rails applications
1212

13-
TODO: Documentation here.
13+
Add the engine to your Gemfile:
14+
15+
```ruby
16+
gem 'kebapage'
17+
```
18+
19+
Bundle install:
20+
21+
```
22+
bundle install
23+
```
24+
25+
Make the installation:
26+
27+
```
28+
rails g kebapage:install
29+
```
30+
31+
Run migrations:
32+
33+
```
34+
rake db:migrate
35+
```
36+
37+
Mount the engine under HQ namespace and add extra routes in config/routes.rb file:
38+
39+
```ruby
40+
namespace :hq do
41+
mount Kebapage::Engine => '/mount_point' # Example: '/spm'
42+
end
43+
44+
get '/id', to: 'kebapage/static_pages#show', as: 'pages'
45+
```
46+
47+
Add blog icon-link to Cybele Rails application's **app/views/layouts/hq/partials/_dock.haml** file. For an example, checkout **example.haml** file.
1448

1549
## Bugs and Feedback
1650

kebapage.gemspec

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Gem::Specification.new do |s|
2121
s.add_dependency "i18n", "~> 0.6.9"
2222
s.add_dependency "haml-rails"
2323
s.add_dependency "friendly_id"
24-
s.add_dependency "bootstrap-sass"
2524
s.add_dependency "bootstrap-wysihtml5-rails"
2625
s.add_dependency "dropzonejs-rails", "0.4.12"
2726

lib/kebapage.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
require "kebapage/engine"
22
require "friendly_id"
3-
require "bootstrap-sass"
43
require "bootstrap-wysihtml5-rails"
54
require "dropzonejs-rails"
65

0 commit comments

Comments
 (0)