Skip to content
Free and open source Q&A software, open source stackoverflow style app written in ruby, rails, mongomapper and mongodb.
Ruby JavaScript
#21 Compare This branch is 5149 commits ahead, 1 commit behind patcito:master.
Failed to load latest commit information.
app use AppConfig variable to force ssl Jul 15, 2012
autotest add rspec 2 Nov 6, 2010
config use AppConfig variable to force ssl Jul 14, 2012
data replace jsMath with jqMath Apr 9, 2011
db New rails skeleton with rails3. Sep 20, 2010
doc initial commit Jul 5, 2009
lib add task to upgrade shapado 4.0 to 4.1 Jul 14, 2012
public more landing stuff Jul 13, 2012
script fix export script Dec 19, 2011
spec Fix some broken specs Jul 13, 2012
test initial commit Jul 5, 2009
tmp render latest questions on index page Aug 14, 2009
vendor Refactoring javascript: cleanup ui module, update modernizr and impro… Jul 13, 2012
.gitignore ignore config/payments.yml Jul 31, 2011
.gitmodules Removed submodule. Sep 20, 2010
.mailmap add mailmap Apr 9, 2010
.rspec add rspec 2 Nov 7, 2010
AUTHORS add AUTHORS file Aug 26, 2009
COPYING added license file Aug 26, 2009
Gemfile revert to mongo-cache Jul 13, 2012
Gemfile.lock revert to mongo-cache Jul 13, 2012
INSTALL_ON_PRODUCTION task to configure and start the websocket Jul 31, 2011
README integrate with newrelic Jul 13, 2012
Rakefile convert Votes to EmbeddedDocument Oct 30, 2010
Shapado.prj Changes for question pages Nov 27, 2010
Shapado.ubuntu.fra.pui Changes for question pages Nov 27, 2010
UPGRADE add upgrade file May 17, 2010
VERSION update VERSION Jul 14, 2012
config.ru New rails skeleton with rails3. Sep 20, 2010
magent.init.rb disable this until we figure out how to make routes work correctly May 12, 2011
old_show.html.haml Adding the new layout for questions view Nov 27, 2010
xapit.ru Use xapian to implement searching questions Sep 28, 2011

README

== Dependencies

- git >= 1.5
- ruby >= 1.9.2
- rubygems >= 1.3.7
- mongodb >= 1.7
- ruby on rails 3

== Install Dependencies

sudo gem install bundler

== Getting Started

1. Download the sources:

    git clone git://gitorious.org/shapado/shapado.git

    cd shapado/

2. Configure the application

    cp config/shapado.sample.yml config/shapado.yml
    cp config/mongoid.sample.yml config/mongoid.yml
    cp config/auth_providers.sample.yml config/auth_providers.yml

    edit shapado.yml and auth_providers.yml

    Go to https://rpm.newrelic.com/ and create an account, then:
    cp config/shapado.yml.sample config/newrelic.yml

    If you don't want to use newrelic, just comment it out in the Gemfile.

    Go to https://rpm.newrelic.com/ and create an account, then:
    cp config/shapado.yml.sample config/newrelic.yml

    If you don't want to use newrelic, just comment it out in the Gemfile.

3. Install dependencies

    bundle install

4. Load default data

    rake bootstrap RAILS_ENV=development

5. Add default subdomain to /etc/hosts, for example:

    "0.0.0.0 localhost.lan group1.localhost.lan group2.localhost.lan"

6. Start the server

    rails server -e development

7. When running shapado in production, you need to run:

    jammit

== Postfix config

add the following text to /etc/aliases
    shapado: "|/usr/local/rvm/bin/rvm 1.9.2 exec PATH/to/shapado/script/handle_email"

in /etc/postfix/main.cf
    default_privs = shapado

then type
    sudo newaliases



Follow us on:

* http://twitter.com/shapado

* http://identi.ca/shapado

* http://blog.ricodigo.com/shapado

Talk to us at:

* irc://irc.freenode.org/shapado

* http://shapado.com/chat

* contact \aT/ shapado d0t com

Report bugs at http://shapado.com and use the tags "bug" or "feature-request"



Happy hacking!

Something went wrong with that request. Please try again.