0.0
No commit activity in last 3 years
No release in over 3 years
Rails 3 engine for managing an app's assets, users, pages, blog, SEO and Social Media Integration
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.5.3
~> 2.0.2
~> 3.1.3
>= 0
 Project Readme

AppYantra Admin

Rails 3 engine for managing an app's assets, users, pages, blog, SEO and Social Media Integration.

Requirements

Rails 3.1 or later.

Getting started

Add this to your GEMFILE:

gem 'appyantra_admin'

Run the install generator

rails generate appyantra_admin:install

Add this to your Rakefile

# required to skip certain initializers
AppyantraAdmin.rake_running = true

Run the admin migrations

rake db:migrate

Add the list of models that you want to manage through AppYantraAdmin as assets:

# config/initializers/appyantra_admin.rb
AppyantraAdmin.setup do |config|
  # specify the model names that can be managed as assets from the Admin dashboard
  config.assets = [ 'Model1', 'Model2' ]
end

Create an Admin user:

rake appyantra_admin:create_admin email='speedy.gonzalves@speedkills.com' first_name='Speedy' last_name='Gonzalves'

Create basic application settings by running:

rake appyantra_admin:setup_admin

Setup Google Analytics by running:

rake appyantra_admin:setup_google_analytics tracking_code='YOUR_TRACKING_CODE' domain='DOMAIN'

If you want to use the default theme for your website then delete the application layout file from your layouts.

Don't forget to delete public/index.html

Now start your Rails server and hit the root url!

Using a Rich Text Editor for text_area input type

AppYantra Admin currently supports CKEditor. If you want to use CKEditor for editing the content of pages then use the following rake task:

rake appyantra_admin:use_rich_text_editor

This task adds a setting for Rich Text Editor and defaults it to CKEditor.

Next, you need to copy the ckeditor directory to "app/assets/javascripts"

Notes

Project Info

[AppYantra Admin] (http://www.appyantra.com/appyantra_admin) has been created by [Govind Naroji] (https://github.com/gnaroji) with contributions from [Gautam Naroji] (https://github.com/narojigautam).

It is maintained by [AppYantra] (http://www.appyantra.com)

For the Admin UI it uses the free [HTML5 Admin Template] (http://medialoot.com/item/html5-admin-template) taken from MediaLoot.

For the Default Website, it uses the free HTML theme [Aurelius] (http://www.csstemplatesfree.org/aurelius.html) taken from CSS Templates.

License

MIT License. Copyright 2012 AppYantra. http://www.appyantra.com