Browse Source

Ghost version

Bob Mottram 7 years ago
parent
commit
f7a1fbbdd5
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      src/freedombone-app-ghost

+ 4
- 3
src/freedombone-app-ghost View File

38
 GHOST_CODE=
38
 GHOST_CODE=
39
 GHOST_ONION_PORT=8104
39
 GHOST_ONION_PORT=8104
40
 GHOST_PORT=2368
40
 GHOST_PORT=2368
41
-GHOST_VERSION='0.11.8'
41
+GHOST_VERSION='0.11.10'
42
 GHOST_HASH='244faad0b16eb1b90c8095f1e536db65299a3a2d85a20af76342be3707522b38'
42
 GHOST_HASH='244faad0b16eb1b90c8095f1e536db65299a3a2d85a20af76342be3707522b38'
43
 GHOST_DOWNLOAD_URL="https://github.com/TryGhost/Ghost/releases/download/${GHOST_VERSION}/Ghost-${GHOST_VERSION}.zip"
43
 GHOST_DOWNLOAD_URL="https://github.com/TryGhost/Ghost/releases/download/${GHOST_VERSION}/Ghost-${GHOST_VERSION}.zip"
44
 
44
 
348
     echo '            }' >> $ghost_config
348
     echo '            }' >> $ghost_config
349
     echo '        },' >> $ghost_config
349
     echo '        },' >> $ghost_config
350
     echo '        database: {' >> $ghost_config
350
     echo '        database: {' >> $ghost_config
351
-    echo "            client: 'mysql'," >> $ghost_config
351
+    echo "            client: 'mariadb'," >> $ghost_config
352
     echo '            connection: {' >> $ghost_config
352
     echo '            connection: {' >> $ghost_config
353
     echo "                host     : '127.0.0.1'," >> $ghost_config
353
     echo "                host     : '127.0.0.1'," >> $ghost_config
354
     echo "                user     : 'root'," >> $ghost_config
354
     echo "                user     : 'root'," >> $ghost_config
355
     echo "                password : '${MARIADB_PASSWORD}'," >> $ghost_config
355
     echo "                password : '${MARIADB_PASSWORD}'," >> $ghost_config
356
-    echo "                database : 'ghost'," >> $ghost_config
356
+    echo "                db       : 'ghost'," >> $ghost_config
357
     echo "                charset  : 'utf8'" >> $ghost_config
357
     echo "                charset  : 'utf8'" >> $ghost_config
358
     echo '            }' >> $ghost_config
358
     echo '            }' >> $ghost_config
359
     echo '        },' >> $ghost_config
359
     echo '        },' >> $ghost_config
488
     npm install showdown-ghost@0.3.6
488
     npm install showdown-ghost@0.3.6
489
     npm install superagent@3.5.2
489
     npm install superagent@3.5.2
490
     npm install mysql@2.1.1
490
     npm install mysql@2.1.1
491
+    npm install mariasql@0.2.6
491
 
492
 
492
     npm install --production
493
     npm install --production
493
 
494