summarylogtreecommitdiffstats
path: root/kanboard.install
diff options
context:
space:
mode:
authorWalter Dworak2016-02-16 21:36:52 -0600
committerWalter Dworak2016-02-16 21:36:52 -0600
commit98e6f09843fc065675f19ebd67b996c5d9bf89e1 (patch)
treeadafa8117d5bfaa65cbf1592fa363e87a70607dd /kanboard.install
parent33b504312c10bd07282291a6a846935ba3dd506e (diff)
downloadaur-98e6f09843fc065675f19ebd67b996c5d9bf89e1.tar.gz
Good update to v1.9, will continue incrementing versions with testing
Diffstat (limited to 'kanboard.install')
-rw-r--r--kanboard.install25
1 files changed, 24 insertions, 1 deletions
diff --git a/kanboard.install b/kanboard.install
index f7ae7b3c4624..33d6fb2c0e6a 100644
--- a/kanboard.install
+++ b/kanboard.install
@@ -1,10 +1,33 @@
+pre_upgrade() {
+ echo "Close all sessions on your current kanboard instance"
+ echo "Kanboard database upgrades are automatic"
+ read -p "BACKUP YOUR KANBOARD DATABASE AND DATA DIRECTORY BEFORE UPGRADING!!!"
+}
post_install() {
echo 'To get started you need to:
+- INSTALL either php-sqlite, php-pgsql, or mariadb-clients and enable the correct database plugin in php.ini
- Configure nginx or apache
+ * Example Apache and Nginx configs are located in /etc/webapps/kanboard
- Enable the required database driver in /etc/php/php.ini (the default driver is sqlite)
- OPTIONAL: Configure kanboard by editing /etc/webapps/kanboard/config.php
This is required when using another DB driver than sqlite
More info:
* http://kanboard.net/documentation/mysql-configuration
- * http://kanboard.net/documentation/postgresql-configuration'
+ * http://kanboard.net/documentation/postgresql-configuration
+- Configure the background tasks via cron
+ * Default cron config is located in /etc/webapps/kanboard, copy the file to /etc/cron.d
+ * http://kanboard.net/documentation/cronjob
+- Configure kanboard to send out emails
+ * http://kanboard.net/documentation/email-configuration
+- Configure URL Rewriting
+ * http://kanboard.net/documentation/nice-urls
+- Evaluate other config options as needed
+ * http://kanboard.net/documentation/config
+- Make sure your web server can write to kanboards data directory
+ * chown -R http:http /usr/share/webapps/kanboard/data'
+}
+post_upgrade() {
+echo 'Check /usr/share/webapps/kanboard/ChangeLog for major changes'
+echo 'Compare your current /etc/webapps/kanboard/config.php with the new /usr/share/webapps/kanboard/config.php.default for new or changed settings'
+echo 'Check your plugins'
}