Userbase
A Rails3 starting point application with User, Posting, Episode, Comments. Uses: devise, cancan, omniauth, cucumber
Install / Use
/learn @iboard/UserbaseREADME
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 <code>/users</code>. Admin-role will be added to this user automatically.
Dec 14, 2010 - Andreas Altendorfer <andreas@altendorfer.at>
More Information
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
