Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Code changes #1

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 0 additions & 5 deletions CHANGELOG.md

This file was deleted.

15 changes: 0 additions & 15 deletions Gemfile

This file was deleted.

20 changes: 0 additions & 20 deletions MIT-LICENSE

This file was deleted.

57 changes: 1 addition & 56 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,56 +1 @@
# Landable

Landable is an API for building your CMS. It's implemented as a [Rails Engine](http://guides.rubyonrails.org/engines.html). We like to use Landable with [Publicist](https://github.com/enova/publicist), a great UI for managing content.


## Installation

Landable requires [Postgres](https://github.com/ged/ruby-pg). 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 new 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:

```ruby
My::Application.routes.draw do
mount Landable::Engine => '/'
end
```
Install Landable's migrations:

```sh
rake landable:install:migrations
rake db:migrate
```

Checkout the wiki for steps on [configuration](https://github.com/enova/landable/wiki/Configuration).

## Visit Tracking
Landable includes the ability to track visits.

```ruby
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
```

## Development

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

Run the test suite with `rake landable`.

## 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](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](https://github.com/enova/landable/blob/master/MIT-LICENSE).
# NOPE.
22 changes: 0 additions & 22 deletions Rakefile

This file was deleted.

38 changes: 0 additions & 38 deletions app/controllers/concerns/landable/variables_concern.rb

This file was deleted.

48 changes: 0 additions & 48 deletions app/controllers/landable/api/access_tokens_controller.rb

This file was deleted.

55 changes: 0 additions & 55 deletions app/controllers/landable/api/assets_controller.rb

This file was deleted.

13 changes: 0 additions & 13 deletions app/controllers/landable/api/categories_controller.rb

This file was deleted.

19 changes: 0 additions & 19 deletions app/controllers/landable/api/directories_controller.rb

This file was deleted.

38 changes: 0 additions & 38 deletions app/controllers/landable/api/page_revisions_controller.rb

This file was deleted.

Loading