Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
BaseApp2 - A RoR starter application with authentication, themes and mobile views
Ruby CSS Other
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app Move completely to asset pipeline
bin
config Move completely to asset pipeline
db
doc initial commit
lib
public Move completely to asset pipeline
script
spec
test Comment out authentication test as they fail
vendor
.DS_Store facebook auth
.gitignore
.ruby-version Initial wave of updates to get app running on rails 4.1
.sample.env Initial wave of updates to get app running on rails 4.1
Gemfile Complete upgrade to Rails 4 using existing codebase
Gemfile.lock Complete upgrade to Rails 4 using existing codebase
Procfile
README.textile Initial wave of updates to get app running on rails 4.1
Rakefile
config.ru Initial wave of updates to get app running on rails 4.1

README.textile

BaseApp2

Contributing

Here are some ways you can contribute:

  • by using alpha, beta, and prerelease versions
  • by reporting bugs
  • by suggesting new features
  • by writing or editing documentation
  • by writing specifications
  • by writing code (no patch is too small: fix typos, add comments, clean up inconsistent whitespace)
  • by refactoring code
  • by resolving [issues](http://github.com/dannymcc/BaseApp2/issues)
  • by reviewing patches

Submitting an Issue

We use the [GitHub issue tracker](http://github.com/dannymcc/BaseApp2/issues) to track bugs and
features. Before submitting a bug report or feature request, check to make sure it hasn’t already
been submitted. You can indicate support for an existing issuse by voting it up. When submitting a
bug report, please include a [Gist](http://gist.github.com/) that includes a stack trace and any
details that may be necessary to reproduce the bug, including your gem version, Ruby version, and
operating system. Ideally, a bug report should include a pull request with failing specs.

Requirements

Rails 3.1

Features

- Layout
- Tabs
- Global links
- Optional sidebar
- Notice, warning and error flash messages
- Both a default stylesheet as well as a ‘clean’ one are included for easy layout development.
- Default dashboard page
- Administration panel where you can:
Manage users (add, delete, purge, suspend, activate, send new passwords)
- Manage settings
- Manage site wide timed announcements
- Post-Commit Hooks ready to roll for Campfire, Basecamp, FriendFeed, Twitter and custom URL.
- User authentication, with password recovery and login recovery and account activation (by email)
- User Profiles:
Location, Website, Full name fields by default, easily extendible.
Gravatar for avatar support
- Mobile Ready
- Auto detect mobile users/visitors and display different views.
- Based on the JQTouch framework, making it easy to theme.
- Devise
- Declarative Authorization

Configatron vs. Settings

Previously, site settings were stored in the database. Now, you have two options for storing configuration settings.

1. Configatron config/config.yml

All default configuration options that are not ‘user changeable’ should go in config/config.yml. This uses the Configatron gem (frozen in vendor/gems).

To retrieve the site name you may use ‘configatron.site_name’ everywhere in your code.

2. Settings in database

It’s still possible to store user changeable settings in the database model Setting.

Note: As long as there are no Settings in the database, the ‘Settings’ tab for the administrator is hidden. Once you add a Setting to the database through a migration (or otherwise), the Settings tab will show up.

Getting Started

This repository comes equipped with a self-setup script:

% ./bin/setup

After setting up, you can run the application using [foreman]:

% foreman start

[foreman]: http://ddollar.github.io/foreman/

Administration username and password are as follows:

  • admin
  • baseapp

Collaborators

  • codenamev
  • dannymcc
  • rorcraft
  • rposborne
  • swistaczek
  • sanchitg
  • t0d0r
Something went wrong with that request. Please try again.