This is an example app using the Fat Free CRM engine
-
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"
-
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 yourGemfile
, 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
-
Start the web server:
rails server
-
Go to localhost:3000 and you’ll see your new site.