mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
mysql unavailable on eu registry, update shrinkwrap
This commit is contained in:
parent
51b42fcc85
commit
70168116d0
2 changed files with 539 additions and 192 deletions
726
conf/npm-shrinkwrap.json
generated
726
conf/npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load diff
|
@ -47,11 +47,12 @@ final_path=/var/www/ghostblog
|
|||
sudo mkdir -p $final_path
|
||||
sudo useradd -d $final_path ghostblog
|
||||
sudo cp -r ../tmp/ghost $final_path
|
||||
sudo cp ../conf/npm-shrinkwrap.json $final_path/ghost
|
||||
#sudo cp ../conf/npm-shrinkwrap.json $final_path/ghost
|
||||
sudo chown -R ghostblog: $final_path
|
||||
|
||||
echo "Install Ghost with NPM..."
|
||||
sudo su --shell /bin/bash --command "cd $final_path/ghost && npm install --production --registry http://registry.npmjs.eu" ghostblog
|
||||
#sudo su --shell /bin/bash --command "cd $final_path/ghost && npm install --production --registry http://registry.npmjs.eu" ghostblog
|
||||
sudo su --shell /bin/bash --command "cd $final_path/ghost && npm install --production --registry http://registry.npmjs.org" ghostblog
|
||||
|
||||
echo "Cleaning up install tree..."
|
||||
sudo rm -rf $final_path/.npm
|
||||
|
|
Loading…
Add table
Reference in a new issue