Rails 3 engine for managing an app's assets, users, pages, blog, SEO and Social Media Integration.
Rails 3.1 or later.
Add this to your GEMFILE:
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
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@example.com' first_name='Speedy' last_name='Gonzalves'
Create basic application settings by running:
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:
This task adds a setting for Rich Text Editor and defaults it to CKEditor.
- Download CKEditor from http://ckeditor.com
- For setup please refer to http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Installation#Minimum_Setup
- Also refer to the CKEditor Sample — Replace Textarea Elements by Class Name
It is maintained by AppYantra
For the Admin UI it uses the free HTML5 Admin Template taken from MediaLoot.
For the Default Website, it uses the free HTML theme Aurelius taken from CSS Templates.
MIT License. Copyright 2012 AppYantra. http://www.appyantra.com