Project

web_admin

0.0
No commit activity in last 3 years
No release in over 3 years
Sistema administrativo para site
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Build Status Code Climate

WebAdmin

Getting started

WebAdmin 0.1.0 works with Rails 4.1.8 onwards. You can add it to your Gemfile with:

gem 'web_admin'

Run the bundle command to install it.

After you install WebAdmin and add it to your Gemfile, add routes to WebAdmin in config/routes.rb with

mount WebAdmin::Engine, at: 'admin'

Load the WebAdmin seeds from your seeds.rb:

WebAdmin::Engine.load_seed

Then need to copy the migration with:

rake web_admin:install:migrations

Run database seeder:

rake db:seed

The default user is: admin@email.com:pwd12345

Create file config/images.yml in your application with

uploaders:
  post:
    thumb_admin:
      width: 50
    thumb_site:
      width: 50
  event:
    thumb_admin:
      width: 50
    thumb_site:
      width: 50
  image:
    thumb_admin:
      width: 50
    thumb_site:
      width: 50