The location of the all powerful DreamFactory code will be located in a different place depending on what type of installation you did. We call this location the installation directory. In many cases, the version number is included as part of the path. In this example, we’ll assume you got verion 2.2.1-2 from Bitnami. Here are the default locations:
MySQL? You can use the mysqldump command to do a backup, or if you have a tool like phpMyAdmin (comes with Bitnami local installs), you just log in, select the database and click the Export tab. The default settings should be fine (Quick method and SQL format.) Click Go. This file can be used to restore the data in the system database if you need to revert changes made.
3. You need an API key
In DreamFactory nearly all calls need an API Key. There are a few exceptions (calls made with admin user session info and calls for logging in,) but generally, assume you need an API Key to make your calls. Not sure what API Key to use? You can create one or get an existing one from Apps tab of the admin console. If your API Key has a default Role associated with it, that’s all you need to make your call. If not, you’ll need a session token too. The DreamFactory authorization and authentication system is heavily documented with a plethora of examples.
4. Check the log file
The DreamFactory log file is a key part of the troubleshooting process. If you’re having trouble with a service or API call, you can find valuable information in the log. The DreamFactory log file is located in:
By default the application is not writing full debug information to the log file. You’ll want to enable debug logging by setting the DF_LOG_LEVEL equal to DEBUG in the .env file and clearing the config cache and the application cache. Let’s take the example of a mysql service. I’ve put in my connection information, but when I try to load the schema in the schema editor, nothing happens. I take a look at the log file and see:
SQLSTATE[HY000]  Access denied for user 'localadmin'@'localhost' (using password: YES)
AHA! I must have put in the wrong credentials. I can now fix my service configuration and proceed with my API masterpiece. These types of hints in the log can be a huge help in figuring out what went wrong.
5. You’ve got a built-in testing tool