Remove test data
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