Speed up your local development workflow with Make commands for Chatwoot.
Speed up your local development workflow with make commands for Chatwoot.
Clone the repository and navigate to the Chatwoot directory:
Install Ruby and JavaScript dependencies using the following command. This command runs Bundler and pnpm:
Apply necessary database schema changes to your development environment by running the following command:
Load some seed data to your development environment for testing by running the following command:
Start the development server using Overmind, a process manager that can run multiple processes concurrently:
If the make run
command fails due to the existence of a ./.overmind.sock
file, you can try using the following command:
For debugging purposes, you can attach to the backend via the Overmind tmux session using the following command:
To debug the worker, use the following command:
Access the Rails console, which provides an interactive environment for interacting with the Chatwoot application:
Build the Docker image for the Chatwoot project:
develop
To update your development environment after pulling the latest changes from the develop
branch, follow these steps:
If you encounter issues with Make commands:
Makefile
for available commandsYour Make-based development workflow is now ready for efficient Chatwoot development! 🚀