开源 是由 Less Everything 使用 Ruby on Rails 编写的社交网络
How to get LovdByLess up and running
USERS WHO ARE UPGRADING READ THE UPGRADE NOTES
WINDOWS USERS READ THIS: http://www.gamutworks.net/blog/?p=17 UBUNTO USERS READ THIS: http://groups.google.com/group/lovdbyless/browse_thread/thread/d29043342c47f06?hl=en
START BY MAKING SURE your ruby gems are version 1.2.0 or greater:
(sudo) gem update --system Then add the github repo to your gems:
gem sources -a http://gems.github.com
Instructions:
Quick Setup (currently for non-Windows users only - due to ferret gem issues):
The getting_started rake task will install all required gems, create the databases in database.yml, and migrate the development and test databases.
Manual Setup:
Install the Required Gems:
TIPS: Installing ImageMagick and RMagick See these posts for tips: http://b.lesseverything.com/2007/9/26/installing-imagemagick-and-rmagick-on-mac-os-x http://www.randycullom.com/chatterbox/archives/2006/12/installing_imag.html
Setup the databases:
All tests pass:
Setup default values:
Edit config/initializers/exception_notifier.rb
Edit the config/environment.rb file and change the config.action_controller.session data
Edit config/environments/development.rb and production.rb to suit your tastes. (Specifically config.action_mailer.delivery_method)
Change the values in config/initializers/global_variables.rb to match your site and domain. (Specifically SITE_NAME, SITE, MAILER_TO_ADDRESS, MAILER_FROM_ADDRESS, REGISTRATION_RECIPIENTS)
Go to the section "About flickr integration" and follow the steps to either use flickr or not.
Edit public/404.html, public/500.html, app/views/account_mailer/*
Edit application.css to suite your tastes.
Edit app/views/home/terms.
Install Sphinx:
Configure Thinking Sphinx:
Start Lovd By Less:
About flickr integration
If you WANT to have flickr integration in your Lovd By Less project, follow these setup instructions:
If you DO NOT WANT to have flickr integration in your Lovd By Less project, follow these setup instructions:
Is there a google group for this project?
Yes. It can be found here: http://groups.google.com/group/lovdbyless
How to change the page a user is redirected to after login or signup:
In AccountController.rb, look for lines that contain: redirect_back_or_default home_path and change either home_path to the path you want to send them to, or change redirect_back_or_default to redirect_to, or both.
Why is public/javascripts/less_routes.js always modified and needing to be checked in? I swear I didn't touch it.
less_routes.js is automatically generate when your app starts. Any changes to this app will be lost the next time it's generated.
Hey, I get some mysql errors when installing the mysql gem. What the funk?
If you get errors that look something like "dlsym(0x10ef660, Init_mysql): symbol not found" when installing your mysql gem, it may be due to an inconsistency in the build architecture of mysql, ruby, the mysql gem or all three. Reinstall the aforementioned components as necessary using the i386 build.
暂无开放 Issues,或尚未同步最近议题。