summaryrefslogtreecommitdiffstats
path: root/start-wekan.sh
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-11-04 18:32:08 +0200
committerLauri Ojansivu <x@xet7.org>2018-11-04 18:32:08 +0200
commit4c2857b6e88b380ad7923b97b3db4c1eb33e4e75 (patch)
treeea6c8795afa1d38c2c40b20a1ee9e0a268951d39 /start-wekan.sh
parent6f2275e8cb286cdf9dab3fee7f19b134eab70ca6 (diff)
downloadwekan-4c2857b6e88b380ad7923b97b3db4c1eb33e4e75.tar.gz
wekan-4c2857b6e88b380ad7923b97b3db4c1eb33e4e75.tar.bz2
wekan-4c2857b6e88b380ad7923b97b3db4c1eb33e4e75.zip
Add build scripts.
Diffstat (limited to 'start-wekan.sh')
-rwxr-xr-xstart-wekan.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/start-wekan.sh b/start-wekan.sh
new file mode 100755
index 00000000..6006fb92
--- /dev/null
+++ b/start-wekan.sh
@@ -0,0 +1,23 @@
+# If you want to restart even on crash, uncomment while and done lines.
+
+#while true; do
+ cd ~/repos/wekan/.build/bundle
+ #export MONGO_URL='mongodb://127.0.0.1:27019/wekantest'
+ #export MONGO_URL='mongodb://127.0.0.1:27019/wekan'
+ export MONGO_URL='mongodb://127.0.0.1:27019/wekantest'
+ # Production: https://example.com/wekan
+ # Local: http://localhost:2000
+ #export ipaddress=$(ifdata -pa eth0)
+ export ROOT_URL='http://localhost:2000'
+ # https://github.com/wekan/wekan/wiki/Troubleshooting-Mail
+ # https://github.com/wekan/wekan-mongodb/blob/master/docker-compose.yml
+ export MAIL_URL='smtp://user:pass@mailserver.example.com:25/'
+ # This is local port where Wekan Node.js runs, same as below on Caddyfile settings.
+ export WITH_API=true
+ export KADIRA_OPTIONS_ENDPOINT=http://127.0.0.1:11011
+ export PORT=2000
+ #export LDAP_ENABLE=true
+ node main.js
+ # & >> ~/repos/wekan.log
+ cd ~/repos
+#done