/SalesFlip

A lean, unobtrusive CRM built on mongoDB and Rails 3

Primary LanguageJavaScript

Salesflip CRM - A Simple Extendable Lightweight Unobtrusive CRM

Salesflip is a simple lightweight extendable unobtrusive CRM built using Rails 3, MongoDB and rightJS. Developed by 1000JobBoersen.de after evaluating the other solutions in the market and finding them all either overpriced, bloated monsters, too inflexible or too javascript reliant. Salesflip is based heavily on FatFreeCRM (github.com/michaeldv/fat_free_crm), which we eventually decided not to use due to it’s unobtrusive nature, and we prefer to use shoulda and cucumber for testing.

System Requirements

  • Ruby 1.9.2

  • Rails 3

  • MongoDB

  • Postgres

  • RabbitMQ

RabbitMQ: rabbitmq.com

# INSTALLATION
brew install rabbitmq
apt-get install rabbitmq-server

# SETUP
rabbitmqctl add_user jobboards <password>
rabbitmqctl add_vhost /jobboards
rabbitmqctl set_permissions -p /jobboards jobboards ".*" ".*" ".*"
AMQP_URL=amqp://jobboards:<password>@<server>:<port>/jobboards

# PLIST
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>org.rabbitmq.rabbitmq-server</string>
  <key>Program</key>
  <string>/usr/local/sbin/rabbitmq-server</string>
  <key>RunAtLoad</key>
  <true/>
  <key>UserName</key>
  <string>durran</string>
  <key>EnvironmentVariables</key>
  <dict>
    <key>PATH</key>
    <string>/usr/local/sbin:/usr/bin:/bin:/usr/local/bin</string>
  </dict>
</dict>
</plist>

Downloads

git://github.com/mattbeedle/SalesFlip.git

Resources

Running the App

$ rails server

For Developers

Salesflip can be extended by creating engines, and packaging them as gems (it’s much simpler than it sounds). Here is a sample gem for notifying all users when a new lead arrives from via web service github.com/mattbeedle/salesflip-lead_notifications

For more information on creating rails 3 engines and packaging them into gems we highly recommend these excellent articles: