Come hang with us on Discord and chat directly with the team!Discordtop-bar-close-icon

2026-04-08

How to Install ActiveWorkflow on Ubuntu Server: Complete Setup Guide

tutorial
img

ActiveWorkflow is an open-source workflow automation platform designed to help teams streamline tasks and manage business processes more efficiently. If you want to deploy ActiveWorkflow on an Ubuntu server, the installation process is straightforward when you follow the correct sequence. This guide walks you through preparing your system, installing required packages, setting up the database, and launching the application successfully.

Prerequisites for ActiveWorkflow Installation

Before you begin, make sure your Ubuntu Server environment is ready for the ActiveWorkflow setup. You should have access to a server running a current Ubuntu release, along with sufficient privileges to install software packages and manage application files.

  • Ubuntu Server
  • Git
  • Ruby and development libraries
  • Internet access for downloading dependencies

Step 1: Update Ubuntu and Install Required Dependencies

The first step is to refresh the package index and install the core dependencies needed to build and run ActiveWorkflow. These include development tools, Git, Ruby, and compression libraries commonly required by Ruby-based applications.

sudo apt-get update

sudo apt-get install build-essential curl git ruby ruby-dev zlib1g-dev

Once these packages are installed, your Ubuntu system will have the essential components required for the ActiveWorkflow installation.

Step 2: Download the ActiveWorkflow Source Code

Next, retrieve the application files from the official GitHub repository. Cloning the repository creates a local copy of the project on your server.

git clone https://github.com/automaticmode/active_workflow.git

This command downloads the ActiveWorkflow source code into a directory named active_workflow.

Step 3: Install Application Dependencies

Move into the project directory and install the Ruby gems required by the application. This step ensures all software libraries needed by ActiveWorkflow are available on your Ubuntu server.

cd active_workflow

bundle install

If the bundle command is not available, you may need to install Bundler first before proceeding. After a successful installation, the application environment will be prepared for database configuration.

Step 4: Configure the Database

ActiveWorkflow needs a database backend to store application data. While multiple database engines may be supported, SQLite is a practical choice for a simple local deployment. Install SQLite and its development package with the following commands.

sudo apt-get install sqlite3 libsqlite3-dev

After installing SQLite, create the database structure required by the application.

bin/rails db:create

Then apply the database migrations to generate the necessary tables.

bin/rails db:migrate

At this stage, the ActiveWorkflow database setup on Ubuntu should be complete.

Step 5: Start the ActiveWorkflow Server

With dependencies installed and the database configured, you can launch the Rails application server.

bin/rails server

If everything is configured correctly, the output should indicate that the Puma web server has started and is listening on port 3000. This confirms that ActiveWorkflow is running and accessible on your Ubuntu server.

If your server uses a firewall, ensure that the appropriate port is open so remote access is possible when needed.

Tips for a Successful Deployment

To make your ActiveWorkflow Ubuntu installation more reliable, keep these best practices in mind:

  • Run system updates regularly to maintain security and stability.
  • Use a production-ready database such as PostgreSQL for larger deployments.
  • Consider running the application behind a reverse proxy such as Nginx.
  • Use process management tools to keep the application running continuously.
  • Review the project documentation for environment-specific configuration options.

Conclusion

Installing ActiveWorkflow on Ubuntu Server is a manageable process that involves setting up dependencies, cloning the project repository, installing Ruby gems, preparing the database, and starting the Rails server. Once deployed, ActiveWorkflow can serve as a powerful workflow automation solution for your environment. By following these steps carefully, you can get ActiveWorkflow up and running on Ubuntu quickly and efficiently.