Git Product home page Git Product logo

kebapress's Introduction

Kebapress

Requirements

Before mounting Kebapress to your application, you will need:

  • Ruby ~> 2.0
  • Rails ~> 4.0
  • Cybele ~> 1.0.0

Installing Kebapress to Cybele Rails applications

Add the engine to your Gemfile:

gem 'kebapress'

Bundle install:

bundle install

Make the installation:

rails g kebapress:install

Run migrations:

rake db:migrate

Mount the engine under HQ namespace and add extra routes in config/routes.rb file:

namespace :hq do
  mount Kebapress::Engine => '/mount_point' # Example: '/blog'
end

get '/blog/:id', to: 'kebapress/posts#show', as: 'pages'
get '/blog', to: 'kebapress/posts#index'

Add blog icon-link to Cybele Rails application's app/views/layouts/hq/partials/_dock.haml file. For an example, checkout example.haml file.

NOTE: If Javascript files don't seem to be loading, please add this line to your host application's layouts/hq/partials/_footer.haml (This is a temporary situation)

= yield :foot

Bugs and Feedback

If you discover any bugs or want to drop a line, feel free to create an issue on Github

http://github.com/lab2023/kebapress/issues

Contributing

Once you've made your great commits:

  1. Fork it
  2. Create a topic branch - git checkout -b my_branch
  3. Push to your branch - git push origin my_branch
  4. Create a Pull Request from your branch
  5. That's it!

Credits

lab2023

License

Copyright 2014 lab2023 โ€“ information technologies

kebapress's People

Contributors

marjinal1st avatar sbagdat avatar

Watchers

Cristiano avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.