Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

appyantra_admin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appyantra_admin

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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

  • 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

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

FAQs

Package last updated on 16 Mar 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc