Installation

Automatic

MESG is using Docker so you need to make sure to have Docker installed on your machine.

  • Download and install Docker CE
  • Initialize Docker Swarm by running docker swarm init
  • In order to access to the Engine, you can use the MESG CLI and install it with
npm install -g mesg-cli

You can now run the MESG Engine with mesg-cli daemon:start

MESG Engine only (advanced mode)

If you don't want to use the CLI, you can start the Engine directly on Docker.

  • Download and install Docker CE
  • Initialize Docker Swarm by running docker swarm init
  • Run the following commands:
# Create local `.mesg` dir
mkdir -p $HOME/.mesg
# Start docker swarm
docker swarm init
# Download latest version
docker pull mesg/engine:latest
# Create the MESG network
docker network create engine -d overlay --label com.docker.stack.namespace=engine
# Start the MESG Engine
docker service create \
  --network engine \
  --mount source=/var/run/docker.sock,destination=/var/run/docker.sock,type=bind \
  --mount source=$HOME/.mesg,destination=/root/.mesg,type=bind \
  --publish 50052:50052 \
  --label com.docker.stack.namespace=engine \
  --name engine \
  mesg/engine:latest

Get Help

You need help? Check out the MESG Forum.

Last Updated: 7/2/2019, 11:30:26 AM