Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Free and open source Q&A software, open source stackoverflow style app written in ruby, rails, mongomapper and mongodb.

branch: master

This branch is 0 commits ahead and 0 commits behind master

app use AppConfig variable to force ssl
autotest add rspec 2
config use AppConfig variable to force ssl
data replace jsMath with jqMath
db New rails skeleton with rails3.
doc initial commit
lib add task to upgrade shapado 4.0 to 4.1
public more landing stuff
script fix export script
spec Fix some broken specs
test initial commit
tmp render latest questions on index page
vendor Refactoring javascript: cleanup ui module, update modernizr and impro…
.gitignore ignore config/payments.yml
.gitmodules Removed submodule.
.mailmap add mailmap
.rspec add rspec 2
AUTHORS add AUTHORS file
COPYING added license file
Gemfile revert to mongo-cache
Gemfile.lock revert to mongo-cache
INSTALL_ON_PRODUCTION task to configure and start the websocket
README integrate with newrelic
Rakefile convert Votes to EmbeddedDocument
Shapado.prj Changes for question pages
Shapado.ubuntu.fra.pui Changes for question pages
UPGRADE add upgrade file
VERSION update VERSION
config.ru New rails skeleton with rails3.
magent.init.rb disable this until we figure out how to make routes work correctly
old_show.html.haml Adding the new layout for questions view
xapit.ru Use xapian to implement searching questions
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.