nativeInstallerfat-free-crm

Remove test data

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

The Bitnami Fat Free CRM Stack comes pre-installed with test data. To remove this test data, follow these steps:

  • Log in to the server console using SSH.
  • At the server console, execute the following command to reset the database and remove all data:

    $ bundle exec rake db:migrate:reset RAILS_ENV=production
    

    NOTE: Executing the above command will remove all records from the database.

  • The previous command also removes the Fat Free CRM administrative user account. To recreate this account, execute the command below and enter an account username, password and email address when prompted:

    $ bundle exec rake ffcrm:setup:admin RAILS_ENV=production