|
@@ -21,12 +21,12 @@ sudo apt install -y apache2 libapache2-mod-php php-cli php-mbstring \
|
|
|
cd /var/www
|
|
|
|
|
|
### Download the latest release from https://github.com/kanboard/kanboard/releases
|
|
|
-wget "https://github.com/kanboard/kanboard/archive/v$version.zip"
|
|
|
+sudo wget "https://github.com/kanboard/kanboard/archive/v$version.zip"
|
|
|
|
|
|
### Deploy
|
|
|
-unzip "v$version.zip"
|
|
|
-mkdir "kanboard-$version/plugins"
|
|
|
-chown -R www-data:www-data "kanboard-$version/data"
|
|
|
-chown -R www-data:www-data "kanboard-$version/plugins"
|
|
|
-rm "v$version.zip"
|
|
|
+sudo unzip "v$version.zip"
|
|
|
+sudo mkdir "kanboard-$version/plugins"
|
|
|
+sudo chown -R www-data:www-data "kanboard-$version/data"
|
|
|
+sudo chown -R www-data:www-data "kanboard-$version/plugins"
|
|
|
+sudo rm "v$version.zip"
|
|
|
|