Git Product home page Git Product logo

typus's Introduction

Typus: Admin interface for Rails applications

Typus is designed for a single activity:

Trusted users editing structured content.

Typus doesn't try to be all the things to all the people but it's extensible enough to match lots of use cases.

Key Features

  • Access control by users and roles.
  • CRUD and custom actions for your models on a clean interface.
  • Internationalized interface.
  • Extensible and overwritable templates.
  • Low memory footprint.
  • Show database tables.
  • Easily update data.
  • Create new data.
  • Automatic form validation.
  • Ruby 1.9 compatible.
  • Sortable columns.
  • Supports SQLite, MySQL, and PostgreSQL.
  • Boolean filtering.
  • Supports ActiveRecord.
  • Search for records.
  • Pagination.
  • Supports Rails 2.3.
  • MIT License, the same as Rails.

Links

Impatients to see it working?

Step 1: Create a Rails application using a template.

$ rails example.com -m http://tr.im/typus_example

Step 2: Start the server.

$ cd example.com && script/server

Step 3: Go to the admin area

$ open http://0.0.0.0:3000/admin

Want to see a demo working?

Demo application is hosted at Heroku (http://typus.heroku.com/).

Use the following credentials to log in.

Email: [email protected]
Password: columbia

Installing

Install from GitHub the latest version which it's compatible with Rails 2.3.6.

$ script/plugin install git://github.com/fesplugas/typus.git

Once typus is installed, run the generator to create required files and migrate your database.

$ script/generate typus
$ rake db:migrate

To create the first user, start the application server, go to http://0.0.0.0:3000/admin and follow the instructions.

Namespaced Models?

If you want to be able to use delayed_job you need to add the following two lines to your config/routes.rb file.

map.connect "admin/delayed/jobs/:action/:id", :controller => "admin/delayed/jobs"
map.connect "admin/delayed/jobs/:action/:id.:format", :controller => "admin/delayed/jobs"

And then create and configure config/typus/delayed_job.yml and config/typus/delayed_job_roles.yml as you do with your other models.

# config/typus/delayed_job.yml
Delayed::Job:
  fields:
    list: ...
    form: ...
  search: ...

# config/typus/delayed_job_roles.yml
admin:
  Delayed::Job: all

Support

As an experiment we encourage you to support this project by donating 90 € if you are a developer or studio. Donations do allow us to spend more time working and supporting the project.

License

Copyright © 2007-2010 Francesc Esplugas Marti, released under the MIT license

typus's People

Contributors

al-prk avatar alno avatar antunderwood avatar bscofield avatar empact avatar eriktigerholm avatar flyerhzm avatar flype avatar fnando avatar georgeguimaraes avatar horaci avatar johngrimes avatar lemig avatar lleirborras avatar nedbaldessin avatar pacifists avatar raul avatar rrouse avatar rubymood avatar simon-hicks avatar spejman avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.