Create template
authorLorin Hochstein <lhochstein@netflix.com>
Tue, 7 Feb 2017 03:57:36 +0000 (19:57 -0800)
committerLorin Hochstein <lhochstein@netflix.com>
Tue, 7 Feb 2017 03:57:36 +0000 (19:57 -0800)
ch13/templates/config.js.j2

index 8446a8b..62c1d5e 100644 (file)
@@ -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: {