Coder Social home page Coder Social logo

talthulortava / landable Goto Github PK

View Code? Open in Web Editor NEW

This project forked from enova/landable

0.0 1.0 0.0 4.2 MB

an API for your CMS

License: MIT License

Ruby 88.35% Liquid 0.74% PLpgSQL 3.10% Gherkin 5.97% Shell 0.10% JavaScript 0.16% CSS 0.15% HTML 1.43%

landable's Introduction

Landable

Gem Version Build Status

Landable is an API for building your CMS. It's implemented as a Rails Engine. We like to use Landable with Publicist, a great UI for managing content.

Installation

Landable requires Postgres. Make sure you have Postgres installed and configured in your app.

Add gem 'landable' to your project's Gemfile and run bundle.

Run bundle exec rails g landable:install, and update the landable initializer to taste.

Open your routes file, and ensure that the engine is mounted properly. Typically, this will be your final, catch-all route:

My::Application.routes.draw do
  mount Landable::Engine => '/'
end

Install Landable's migrations:

rake landable:install:migrations
rake db:migrate

Checkout the wiki for steps on configuration.

Visit Tracking

Landable includes the ability to track visits.

Landable.configure do |config|
  # To enable tracking, put one of the following in your Landable initializer:
  config.traffic_enabled = true  # Enables tracking for all requests.  (:all is also accepted here.)
  config.traffic_enabled = :html # Enables tracking for only HTML requests.
end

Read more about Visit Tracking

Development

Run ./script/redb to refresh the dummy app's database.

Run the test suite with rake landable.

We use Rubocop, so your test must all pass Rubocops Tests in order for your PR to be accepted!

Contributing

Contributions are welcome - submit a pull request.

  • Do include specs to back up all code changes.
  • Do add your changes to the "unreleased" section of CHANGELOG.md (adding this section if it does not exist). Include the pull request number.
  • Don't bump Landable's version number.

License

Landable is released under the MIT License.

landable's People

Contributors

dkaplan88 avatar mwesigwa avatar isaacbowen avatar spatel17 avatar ryancowan avatar companygardener avatar travis-anderson avatar jswartzy avatar geekaholic avatar enovajuan avatar

Watchers

Ava 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.