A Rails3 starting point application with User, Posting, Episode, Comments. Uses: devise, cancan, omniauth, cucumber
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
autotest
config
db
doc
features
lib
public
script
spec Fix merge-conflicts in tests Dec 16, 2010
test
vendor/plugins
.gitignore
.rspec
Gemfile
Gemfile.lock
README.md
Rakefile
TODO-master.md
config.ru
licence.txt

README.md

Rails 3 Project: 'userbase'

This RAILS3 application may be used as a starting-point for your application. It defines MVCs for

- User (with devise, cancan, omniauth)
- Postings with multiple attachments
- Episodes to embed HTML5- and YouTube videos
- Galleries

Getting Started

Clone from Github

git clone git://github.com/iboard/userbase.git [PATH_OF_YOUR_CHOICE]

Configuration

Copy sample configuration files to live files

cp config/mailserver_setting.rb.sample \
config/mailserver_setting.rb

do the same thing with all *sample-files and edit this files to fit your needs

Most of the configuration can be done in 'config/application.yml' for each environment.

In order to use rake taks deploy:dump_db

mkdir db/dump

Customize

Static Pages

create the following files in public/static_pages

  • header.html ... used at top of application.html.erb
  • prefix.html ... displayed at top of application.html.erb
  • welcome_right.html ... displayed at the right sidebar of application.html.erb
  • footer.html ... used at the bottom of application.html.erb
  • about.html ... displayed with welcome#about
  • episodes.html ... displayed at top of episodes#index
  • legal.html ... displayed at welcome#leagal
  • welcome_activity.html ... displayed at welcome#index

There is no need to restart the server when you make changes in this files.

Bundle

bundle install

Create the database

rake db:migrate

Start your engine

rails server

The first user becomes admin automatically

Sign up your first user and then visit /users. Admin-role will be added to this user automatically.

Dec 14, 2010 - Andreas Altendorfer <andreas@altendorfer.at>

More Information