Git Product home page Git Product logo

wekan-autoinstall's Introduction

wekan

Wekan auto-installation script

Tested on Ubuntu Server 14.04.4 LTS but it should work on any Debian based distribution.

This scripts automates the installation process for Wekan v0.10.1

It automatically downloads and installs the following packages:

  • make, gcc, g++, build-essential, libssl-dev (needed for wekan compilation)
  • mongodb-server (NoSQL database)
  • nvm (installs NodeJS v0.10.40)
  • forever (runs NodeJS applications at the background forever)
  • wekan v0.10.1

Pre-Configuration

Before you start the installation, you can edit the script to change some parameters, such as:

  • NODE_VERSION (default is v0.10.40 which is required for running Wekan v0.10.1. I suggest NOT CHANGING IT since it could break the service)
  • MONGO_URL (default is mongodb://127.0.0.1:27017/wekan)
  • ROOT_URL (default is http://127.0.0.1)
  • PORT (defaults is set to 8080)
  • MAIL_URL (the format is 'smtp://user:[email protected]:25/')
  • PIDFILE (default is /var/run/Wekan.pid)
  • LOGFILE (default is /var/run/Wekan.log)

Installation

Run as root:

$ chmod +x autoinstall_wekan.sh
$ ./autoinstall_wekan.sh

As a plus, the script configures Wekan as a service which autostarts at boot.

After the installation is complete, you have the option to start the service or to reboot the system.

Service

You can manually start the service as root by typing:

$ /etc/init.d/wekan start

Access your installation

After the service is started you can access your fresh wekan installation by pointing your browser to:

http://<your-ip>:8080

The default port is set to 8080 in case you have another web server running at port 80.

Post-Configuration

In case want to reconfigure the service to run at a different port after the you run the script, you must edit the service file using your favorite file editor, for ex.

$ nano /etc/init.d/wekan

Change any parameters you want, save and exit. After that you must update the autostart service script. To do so run as root:

$ update-rc.d -f wekan remove && update-rc.d wekan defaults

For the changes to take effect you should restart the service. I recommend rebooting your system, since the previous service could be still running.

Wekan Virtual Appliance

I have prepared a ready to run, Ubuntu based (Ubuntu 14.04.4 Server - amd64) Virtual Machine with Wekan preinstalled. All you need is a VirtualBox installation. You can download the appliance directly from https://selalmaz.xyz/t/wekanmv-0-10-1 (~689MB) or from the releases page at https://github.com/anselal/wekan/releases

  • username: wekan
  • password: wekan

wekan-autoinstall's People

Contributors

anselal avatar xge avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.