Sample application using Fat Free CRM engine
== Welcome to Fat Free CRM
This is an example app using the Fat Free CRM engine
=== Simple installation
Clone this repo:
git clone git://github.com/fatfreecrm/ffcrm_app.git
Change directory to ffcrm_app:
cd ffcrm_app
Set up database config: (Replace {database} with one of: postgres, mysql, mysql.mac, sqlite)
cp config/database.{database}.yml config/database.yml
git add config/database.yml
git commit -m “Configured database”
=== Install into a new Rails application
At the command prompt, create a new Rails application:
rails new my_crm # (where my_crm is the application name)
Change directory to my_crm:
cd my_crm
Remove a few files that fat_free_crm already provides:
(cd app && rm -f controllers/application_controller.rb views/layouts/application.html.erb helpers/application_helper.rb assets/javascripts/application.js assets/stylesheets/application.css)
Add fat_free_crm to your Gemfile, with the following line:
gem ‘fat_free_crm’, :git => ‘git://github.com/fatfreecrm/fat_free_crm.git’
Install gems:
bundle install
Create database, run migrations, setup admin user, etc.:
rake ffcrm:setup
=== Fire it up
Start the web server:
rails server
Go to http://localhost:3000 and you’ll see your new site.