Skip to content

Get started

Sowmiya Nagarajan edited this page Mar 28, 2020 · 5 revisions

Pre-requisities

1. Docker

Visit Docker Page to install Docker for desktop.

NOTE: Docker by default is installed with 2GB memory. To have multiple services like mysql and elastic search running in docker, minimum 6-8GB memory will be required. This can be set in Docker preferences/resources.

Run

sh stack_box.sh

Follow the menu options to select clients and services for your stack.

Jump to example-stacks to quickly try a run

Support

Supported Clients

  • vue
  • flask

Supported Services

  • mysql
  • elasticsearch
  • kibana
  • nginx
  • kafka
  • zookeper

Example Stacks

The following is a list of example stacks you could spin-up using Stackbox and quickly get-started with your development.

1. Flask-Vue-Mysql-Elasticsearch

Run

sh stack_box.sh

Choose vue for frontend, flask for backend. Choose mysql and elasticsearch (with/without kibana) for services.

Test

After the run is finished, the final log should look like the one below.

flask is up at http://localhost:80
vue is up at http://localhost:8080
elasticsearch is up at http://localhost:9200
mysql is up at http://localhost:3306

Now you can visit http://localhost:8080 to view the Vue frontend. From there you can click on Mysql/Elasticsearch links to view the preloaded data from mysql/elasticsearch containers being rendered.

Visit Working or Debugging pages to know more about internal details.

Clone this wiki locally