mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Clean lines
This commit is contained in:
parent
b3c81edb5d
commit
289d9fb81f
1 changed files with 3 additions and 14 deletions
|
@ -65,7 +65,6 @@ curl -sL https://deb.nodesource.com/setup_4.x | sudo bash -
|
||||||
sudo apt-get -y install nodejs
|
sudo apt-get -y install nodejs
|
||||||
sudo npm install -g yarn
|
sudo npm install -g yarn
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
# Set UTF8 encoding by default
|
# Set UTF8 encoding by default
|
||||||
sudo su -c "psql" postgres <<< \
|
sudo su -c "psql" postgres <<< \
|
||||||
"update pg_database set datistemplate='false' where datname='template1';"
|
"update pg_database set datistemplate='false' where datname='template1';"
|
||||||
|
@ -76,28 +75,20 @@ sudo su -c "psql" postgres <<< \
|
||||||
sudo su -c "psql" postgres <<< \
|
sudo su -c "psql" postgres <<< \
|
||||||
"update pg_database set datistemplate='true' where datname='template1';"
|
"update pg_database set datistemplate='true' where datname='template1';"
|
||||||
|
|
||||||
# Create DB user mastodon
|
|
||||||
=======
|
|
||||||
# Create DB without password
|
# Create DB without password
|
||||||
sudo systemctl restart postgresql
|
|
||||||
>>>>>>> refs/remotes/magikcypress/master
|
|
||||||
ynh_psql_create_db_without_password "$app"
|
ynh_psql_create_db_without_password "$app"
|
||||||
|
|
||||||
# Download all Ruby source
|
# Download all Ruby source
|
||||||
sudo git clone https://github.com/rbenv/rbenv.git $final_path/.rbenv
|
sudo git clone https://github.com/rbenv/rbenv.git $final_path/.rbenv
|
||||||
sudo git clone https://github.com/rbenv/ruby-build.git $final_path/.rbenv/plugins/ruby-build
|
sudo git clone https://github.com/rbenv/ruby-build.git $final_path/.rbenv/plugins/ruby-build
|
||||||
<<<<<<< HEAD
|
|
||||||
sudo git clone https://github.com/tootsuite/mastodon.git $final_path/live
|
sudo git clone https://github.com/tootsuite/mastodon.git $final_path/live
|
||||||
|
|
||||||
=======
|
|
||||||
|
|
||||||
# Be king rewind (/var/cache/yunohost/from_file/scripts)
|
# Be king rewind (/var/cache/yunohost/from_file/scripts)
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Get Mastodon last version
|
# Get Mastodon last version
|
||||||
sudo mkdir "${final_path}/live"
|
sudo mkdir "${final_path}/live"
|
||||||
SETUP_SOURCE
|
SETUP_SOURCE
|
||||||
>>>>>>> refs/remotes/magikcypress/master
|
|
||||||
sudo chown -R $app: "${final_path}"
|
sudo chown -R $app: "${final_path}"
|
||||||
|
|
||||||
# Install de rbenv
|
# Install de rbenv
|
||||||
|
@ -212,10 +203,8 @@ fi
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
|
||||||
# Reload Nginx
|
# Reload Nginx
|
||||||
<<<<<<< HEAD
|
|
||||||
sudo systemctl reload nginx || true
|
sudo systemctl reload nginx || true
|
||||||
# debug
|
# debug
|
||||||
sudo systemctl status nginx
|
# sudo systemctl status nginx
|
||||||
=======
|
# sudo systemctl reload nginx
|
||||||
sudo systemctl reload nginx
|
|
||||||
>>>>>>> refs/remotes/magikcypress/master
|
|
||||||
|
|
Loading…
Reference in a new issue