Ind.ie is now Small Technology Foundation.
Commit 042b4875 authored by Aral Balkan's avatar Aral Balkan

Debug code for production

parent 26923598
{
"host": "indiepub-app.feathersjs.com",
"port": "PORT"
"host": "available.gent",
"port": "80"
}
......@@ -56,7 +56,14 @@ function setOwnerKeys (app, ownerKeys = null) {
}
function globals (app) {
console.log('PATHS')
console.log(`os.homedir(): ${os.homedir()}`)
const dataDirectoryPath = path.join(os.homedir(), '.indie', 'site')
console.log(`dataDirectoryPath: ${dataDirectoryPath}`)
const serverSecretFilePath = path.join(dataDirectoryPath, 'server-secret.json')
const ownerKeysFilePath = path.join(dataDirectoryPath, 'owner-keys.json')
const ownerSettingsFilePath = path.join(dataDirectoryPath, 'owner-settings.json')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment