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
git clone git://github.com/iboard/userbase.git [PATH_OF_YOUR_CHOICE]
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.
mkdir db/dump
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 install
rake db:migrate
rails server
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>