start-wekan.sh 906 B

1234567891011121314151617181920212223
  1. # If you want to restart even on crash, uncomment while and done lines.
  2. #while true; do
  3. cd ~/repos/wekan/.build/bundle
  4. #export MONGO_URL='mongodb://127.0.0.1:27019/wekantest'
  5. #export MONGO_URL='mongodb://127.0.0.1:27019/wekan'
  6. export MONGO_URL='mongodb://127.0.0.1:27019/wekantest'
  7. # Production: https://example.com/wekan
  8. # Local: http://localhost:2000
  9. #export ipaddress=$(ifdata -pa eth0)
  10. export ROOT_URL='http://localhost:2000'
  11. # https://github.com/wekan/wekan/wiki/Troubleshooting-Mail
  12. # https://github.com/wekan/wekan-mongodb/blob/master/docker-compose.yml
  13. export MAIL_URL='smtp://user:pass@mailserver.example.com:25/'
  14. # This is local port where Wekan Node.js runs, same as below on Caddyfile settings.
  15. export WITH_API=true
  16. export KADIRA_OPTIONS_ENDPOINT=http://127.0.0.1:11011
  17. export PORT=2000
  18. #export LDAP_ENABLE=true
  19. node main.js
  20. # & >> ~/repos/wekan.log
  21. cd ~/repos
  22. #done