Skip to content

Quick Start

zhongyuanzhao000 edited this page Jul 19, 2020 · 8 revisions

In this chapter, you'll run Train ticket using our pre-built docker images. If you want to build the images yourself, please refer to the Installation Guide.

Using docker-compose

Prerequisite

(1) docker
(2) docker-compose

Getting started

git clone --depth=1 https://github.com/FudanSELab/train-ticket.git

cd train-ticket/

# using docker-compose to start services.
docker-compose -f deployment/docker-compose-manifests/quickstart-docker-compose.yml up

You can access the homepage at http://localhost:8080 now.

Using Kubernetes

Prerequisite

(1) docker
(2) docker-compose
(3) kubernetes

Getting started

git clone --depth=1 https://github.com/FudanSELab/train-ticket.git

cd deployment/kubernetes-manifests/quickstart-k8s


kubectl apply -f quickstart-ts-deployment-part1.yml
kubectl apply -f quickstart-ts-deployment-part2.yml
kubectl apply -f quickstart-ts-deployment-part3.yml

You can access the homepage at [Node IP]:32677 now.