Create config later
This commit is contained in:
parent
777742e252
commit
50558716a7
|
@ -304,8 +304,6 @@ function install_ghost {
|
||||||
function_check install_nodejs
|
function_check install_nodejs
|
||||||
install_nodejs ghost
|
install_nodejs ghost
|
||||||
|
|
||||||
ghost_create_config
|
|
||||||
|
|
||||||
sed -i "/sqlite/d" /var/www/${GHOST_DOMAIN_NAME}/htdocs/package.json
|
sed -i "/sqlite/d" /var/www/${GHOST_DOMAIN_NAME}/htdocs/package.json
|
||||||
npm install --production
|
npm install --production
|
||||||
|
|
||||||
|
@ -318,6 +316,8 @@ function install_ghost {
|
||||||
function_check ghost_create_database
|
function_check ghost_create_database
|
||||||
ghost_create_database
|
ghost_create_database
|
||||||
|
|
||||||
|
ghost_create_config
|
||||||
|
|
||||||
adduser --system --home=/var/www/${GHOST_DOMAIN_NAME}/htdocs/ --group ghost
|
adduser --system --home=/var/www/${GHOST_DOMAIN_NAME}/htdocs/ --group ghost
|
||||||
chown -R ghost: /var/www/${GHOST_DOMAIN_NAME}/htdocs/
|
chown -R ghost: /var/www/${GHOST_DOMAIN_NAME}/htdocs/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue