|
6 | 6 | # CodeFlare Desktop Client |
7 | 7 |
|
8 | 8 | <p align="center"> |
9 | | -<img src="./images/codeflare_cli.svg" width="200" height="200"> |
| 9 | +<img src="./images/codeflare_cli.svg" width="100" height="100" align="left"> |
10 | 10 | </p> |
11 | 11 |
|
12 | | -CodeFlare is a framework to simplify the integration, scaling and |
13 | | -acceleration of complex multi-step analytics and machine learning |
14 | | -pipelines on the cloud. |
| 12 | +[CodeFlare](https://codeflare.dev) is a framework to simplify the |
| 13 | +integration, scaling and acceleration of complex multi-step analytics |
| 14 | +and machine learning pipelines on the cloud. |
15 | 15 |
|
16 | | -## Installation |
17 | | - |
18 | | -```shell |
19 | | -brew tap project-codeflare/codeflare-cli https://github.com/project-codeflare/codeflare-cli |
20 | | -brew install codeflare |
21 | | -``` |
| 16 | +This repository is home to the open source CodeFlare CLI, |
| 17 | +`codeflare`. On macOS, you can [get started |
| 18 | +immediately](#installation) using `brew install`. |
22 | 19 |
|
23 | | -## Development |
| 20 | +## Highlights |
24 | 21 |
|
25 | | -For codeflare-cli developers: |
| 22 | +- **Easy job submission against Kubernetes**: `codeflare` guides you |
| 23 | + through the complex process by posing a series of questions (where |
| 24 | + is your source code? where is your data?). `codeflare` has the |
| 25 | + smarts to glue all of these answers together, culminating in a |
| 26 | + running job. |
26 | 27 |
|
27 | | -```shell |
28 | | -git clone https://github.com/project-codeflare/codeflare-cli |
29 | | -cd codeflare-cli |
30 | | -npm ci |
31 | | -npm run watch |
32 | | -``` |
| 28 | +- **Optimized Inner Loop**: You may give a name to the set of answers |
| 29 | + you provided. We call this a "profile". Your inner loop of jobs |
| 30 | + submission can thus be optimized by running `codeflare -p <profileName>`. This also allows you to switch quickly between |
| 31 | + profiles, and even submit jobs to distinct profiles concurrently. |
33 | 32 |
|
34 | | -Now you may use `./bin/codeflare` to launch your local clone. The |
35 | | -watcher will recompile things when you make changes to TypeScript or |
36 | | -SCSS source files. |
| 33 | +- **Pop-up Graphical dashboards with a few keystrokes or clicks**: |
| 34 | + `codeflare` leverages the power of |
| 35 | + [Kui](https://github.com/kubernetes-sigs/kui) to offer you quick |
| 36 | + access to a variety of graphical dashboards, including MLFlow, |
| 37 | + Tensorboard, and a custom CodeFlare Dashboard that helps you track |
| 38 | + the progress of an individual job. There is no need to fiddle with |
| 39 | + yaml files and port forwards. With a few clicks, you will get a |
| 40 | + popup window that shows you the chosen dashboard. |
37 | 41 |
|
38 | | -### Docker |
39 | | - |
40 | | -If you want to build a Docker image, this command will build a |
41 | | -production client (which takes around 30 seconds), and then build the |
42 | | -Docker image (which takes another few minutes). |
| 42 | +## Installation |
43 | 43 |
|
44 | | -```shell |
45 | | -npm run build:docker |
46 | | -``` |
| 44 | +On macOS, if you have [HomeBrew](https://brew.sh/) installed: |
47 | 45 |
|
48 | | -If you want to skip the first step, and only test building the Docker |
49 | | -image, use `build:docker0`. |
| 46 | + brew tap project-codeflare/codeflare-cli https://github.com/project-codeflare/codeflare-cli |
| 47 | + brew install codeflare |
50 | 48 |
|
51 | | -To test your image, try `./bin/codeflare -d`. If you want to debug the |
52 | | -image itself, use `npm run docker:debug` which will get you a shell |
53 | | -into a running container. |
| 49 | +Otherwise, visit our |
| 50 | +[Releases](https://github.com/project-codeflare/codeflare-cli/releases/latest) |
| 51 | +page to download the zip file for your platform. Unzip and place the |
| 52 | +enclosed `bin/` directory on your `PATH`. |
54 | 53 |
|
55 | | -Limitations: the Docker build scripts are currently hard-wired to |
56 | | -x86. PRs welcome to leverage `docker buildx` to build for ARM, etc. |
| 54 | +</details> |
57 | 55 |
|
58 | | -## License |
| 56 | +## Contributing |
59 | 57 |
|
60 | | -CodeFlare CLI is an open-source project with an [Apache 2.0 license](LICENSE). |
| 58 | +Want to help out? Check out the [developer guide](./docs/development/README.md). |
0 commit comments