Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Free and open source Q&A software, open source stackoverflow style app written in ruby, rails, mongomapper and mongodb.
Ruby JavaScript
Pull request Compare This branch is 1 commit ahead of ricodigo:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
autotest
config
data
db
doc
lib
public
script
spec
test
tmp
vendor
.gitignore
.gitmodules
.mailmap
.rspec
AUTHORS
COPYING
Gemfile
Gemfile.lock
INSTALL_ON_PRODUCTION
README.md
Rakefile
Shapado.prj
Shapado.ubuntu.fra.pui
UPGRADE
VERSION
config.ru
magent.init.rb
old_show.html.haml
xapit.ru

README.md

Shapado

Free and open source Q&A software. Hosted at http://shapado.com/

Dependencies

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

Getting Started

Download the sources:

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

cd shapado/

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

Setup New Relic

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.

Otherwise, go to https://rpm.newrelic.com/ and create an account, then:

cp config/shapado.yml.sample config/newrelic.yml

Install dependencies

gem install bundler    # (if bundler is not installed)
bundle install

Load default data

rake bootstrap RAILS_ENV=development

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

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

Start the server

rails server -e development

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"

Add the following to /etc/postfix/main.cf:

default_privs = shapado

Then, type:

sudo newaliases

Follow us on:

Talk to us at:

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.