|
@@ -0,0 +1,21 @@
|
|
|
|
+#!/bin/usr/fish
|
|
|
|
+
|
|
|
|
+# Install Kanboard
|
|
|
|
+
|
|
|
|
+## Install PHP
|
|
|
|
+sudo apt install -y apache2 libapache2-mod-php7.0 php7.0-cli php7.0-mbstring \
|
|
|
|
+ php7.0-opcache php7.0-json php7.0-pgsql php7.0-gd php7.0-xml
|
|
|
|
+
|
|
|
|
+## Install Kanboard
|
|
|
|
+### Go to apache folder
|
|
|
|
+cd /var/www/html
|
|
|
|
+
|
|
|
|
+### Download the latest release from https://github.com/kanboard/kanboard/releases
|
|
|
|
+set version '1.2.10'
|
|
|
|
+
|
|
|
|
+wget "https://github.com/kanboard/kanboard/archive/v$version.zip"
|
|
|
|
+
|
|
|
|
+unzip "kanboard-$version.zip"
|
|
|
|
+chown -R www-data:www-data "kanboard-$version/data"
|
|
|
|
+rm "kanboard-$version.zip"
|
|
|
|
+
|