The database.json File

Inside the TubePress Content Directory, in the config subdirectory, TubePress will look for a file named database.json. If this file exists, TubePress will parse and apply it's contents as options. You may think of this file as a simple database from which TubePress reads at the start of each invocation.
This article applies to TubePress only when used in standalone PHP.

Inside the TubePress Content Directory, in the config subdirectory, TubePress will look for a file named database.json. If this file exists, TubePress will parse and apply it's contents as options. You may think of this file as a simple database from which TubePress reads at the start of each invocation.

Format

database.json must contain exactly one valid JSON object where the keys are TubePress option names and the values are the corresponding values. We stronly suggest that you utilize an online JSON validator when editing this file.

Example

Here's an example database.json

{
    "googleApiKey" : "8d635f0aa2953aab6ace68d2934e8005",
    "theme" : "tubepress/youtube.com-clone",
    "resultsPerPage" : 12
}


Last Updated Oct 08, 2015 06:02PM PDT
c65861bf7a72e1a8878bdf73cabbbdbf@tubepress.desk-mail.com
http://assets3.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete