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 MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

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

  • Load the Bitnami console (Windows, Linux or macOS installers) or log in to the virtual machine console (OS X VM).

  • 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
Last modification March 24, 2021