Local Setup

Learn how to set up erxes on your local machine

Prerequisites

Before you can install and use erxes, make sure you install the following on your computer:

Prepare the environment

    1

    Create a folder for erxes

Important

Make sure you are inside the erxes folder before proceeding with the installation steps. Being in the correct directory is crucial for the setup process to work properly.

Setup Database

    1

    Install MongoDB

    Follow the instructions in the MongoDB documentation to install MongoDB on your system.

    2

    Install Redis

    Follow the instructions in the Redis documentation to install Redis on your system.

Setup erxes

    1

    Clone the repository

    2

    Copy the environment variables

    3

    Configure the environment variables

    Important

    If You are not using plugins, you can remove the ENABLED_PLUGINS line. If ENABLED_PLUGINS is null value it might break the setup process.

    4

    Install dependencies

Start erxes

    1

    Run the frontend

    2

    Run the backend

Access erxes Services

Once you've started both the frontend and backend services, you can access them at the following URLs:

Frontend

erxes frontend is available at http://localhost:3001

Backend Services

Edit this page