From: Lorin Hochstein Date: Tue, 7 Feb 2017 03:57:36 +0000 (-0800) Subject: Create template X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=c560f839e8f000bd1bdd4bbc532c63b2a377a0ce;p=ansiblebook.git Create template --- diff --git a/ch13/templates/config.js.j2 b/ch13/templates/config.js.j2 index 8446a8b..62c1d5e 100644 --- a/ch13/templates/config.js.j2 +++ b/ch13/templates/config.js.j2 @@ -11,14 +11,17 @@ config = { // When running Ghost in the wild, use the production environment. // Configure your URL and mail settings here production: { - url: 'http://localhost:8000', + url: '{{ url }}', mail: {}, database: { - client: 'sqlite3', + client: 'pg', connection: { - filename: path.join(process.env.GHOST_CONTENT, '/data/ghost.db') - }, - debug: false + host : '{{ database_host }}', + user : '{{ database_user }}', + password : '{{ database_pasword }}', + database : '{{ database_name }}', + charset : 'utf8' + } }, server: {