Skip to content

Commit f693aee

Browse files
committed
doc: refresh top-level README
This moves the dev docs into docs/development
1 parent ce4a7cf commit f693aee

File tree

2 files changed

+56
-38
lines changed

2 files changed

+56
-38
lines changed

README.md

+36-38
Original file line numberDiff line numberDiff line change
@@ -6,55 +6,53 @@
66
# CodeFlare Desktop Client
77

88
<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">
1010
</p>
1111

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.
1515

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`.
2219

23-
## Development
20+
## Highlights
2421

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.
2627

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.
3332

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.
3741

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
4343

44-
```shell
45-
npm run build:docker
46-
```
44+
On macOS, if you have [HomeBrew](https://brew.sh/) installed:
4745

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
5048

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`.
5453

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>
5755

58-
## License
56+
## Contributing
5957

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).

docs/development/README.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Developer Guide for the CodeFlare CLI
2+
3+
CodeFlare is written in [TypeScript](https://www.typescriptlang.org/),
4+
and leverages the [Kui](https://github.com/kubernetes-sigs/kui)
5+
framework to provide platform applications that can also be run as
6+
hosted web applications.
7+
8+
For CodeFlare CLI developers, first create your own fork, then clone
9+
it and start up the [webpack](https://webpack.js.org/) watcher:
10+
11+
```shell
12+
git clone https://github.com/project-codeflare/codeflare-cli
13+
cd codeflare-cli
14+
npm ci
15+
npm run watch
16+
```
17+
18+
Now you may use `./bin/codeflare` to launch your local clone. The
19+
watcher will recompile things when you make changes to TypeScript or
20+
SCSS source files.

0 commit comments

Comments
 (0)