Before deployment, please make sure you have build Jifa.
If you want to deploy classic one master
+several workers
application, you can use
$ cd deploy/default_pattern
$ ./deploy_jifa.sh
Then visit http://127.0.0.1:80 in your browser. This contains full features of Jifa, we recommend using this for enterprise use.
If you want to deploy worker only, run script directly
$ cd deploy
$ ./deploy_worker.sh
Then visit http://127.0.0.1:8102 in your browser. This is the simplest way to get started with Jifa, we recommend using this for personal use.
For K8S pattern, you can launch a single node cluster using minikube start --driver=hyperkit
, then deploy Jifa by the following commands:
$ cd scripts/docker_images
$ ./build_image.sh
$ cd ../..
$ cd deploy/k8s_pattern
$ ./deploy.sh
We recommend using this for enterprise use, especially for people who want to save machine resources, and you already have a k8s cluster.
Don't know which pattern is desired for you? Please free feel to file an Issue
to ask for help, or try the simplest Worker only mode.