Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.94 KB

gce.md

File metadata and controls

52 lines (41 loc) · 1.94 KB

How to run?

Getting started

Welcome to the Meeds-io Startup tutorial. Here we will show you how to run Meeds in a few steps. To get started, click on Start!

VM Setup

Elasticsearch uses a mmapfs directory by default to store its indices. The default operating system limits on mmap counts are likely to be too low, which may result in out-of-memory exceptions. See doc.

sudo sysctl -w vm.max_map_count=262144

Upgrade docker-compose cli

The provided docker-compose cli is outdated with the recent version of the docker daemon. So we need to update it as follow:

sudo wget -q https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64 -O /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

Start Meeds

docker-compose -f gce-compose.yml -p demo up -d
docker-compose -f gce-compose.yml -p demo logs -f meeds

Wait for Meeds's startup. A log message should appear:

| INFO  | Server startup in [XXXXX] milliseconds [org.apache.catalina.startup.Catalina<main>]

After Meeds startup. Click on Web preview Button and click on Preview on Port 8080. Enjoy!

Stop Meeds

Hope you enjoyed Meeds. You can tear down the server by following one of these options:

  • To stop Meeds without removing docker containers:
    docker-compose -f gce-compose.yml -p demo stop
  • To stop Meeds by removing docker containers:
    docker-compose -f gce-compose.yml -p demo down
  • To stop Meeds by removing docker containers and volumes:
    docker-compose -f gce-compose.yml -p demo down -v

You can start again meeds by following the previous step.

You can check out our Github organization and our builders hub.

That's all :)