|
1 |
| -## Appctl |
| 1 | +# Appctl |
| 2 | + |
2 | 3 | ### Unified developer experience across all your projects
|
3 | 4 |
|
4 |
| -Do you write your own build scripts or do you prefer to use `make`? Are you too lazy to write your own Makefiles? do you even know what `make` is? Do you suffer of having several projects written with different technologies and you always struggle to remember how to build/test/package each one? |
| 5 | +Are you too lazy to write your own build scripts or your own Makefiles? Do you even know what `make` is? Do you suffer from having several projects written with different technologies and you always struggle to remember how to build/test/package each one? |
| 6 | + |
| 7 | +This project aims to provide a simple and unified development experice across all your projects |
5 | 8 |
|
6 |
| -No worries `appctl` knows well about `make` and Makefiles and leverages it for you so you |
7 |
| -have the simplest build chain accross all your projects, works for Java, Go,.. no matter what is the underline technology, it's actually indiferent to `appctl`. You just specify what kind of app you are working with and `appctl` manages it for you so you don't have to remember the exact commands to build each one of your projects. |
| 9 | +## What does `appctl` do? |
8 | 10 |
|
9 |
| -You could just write Makefiles following your own guidelines in all your projects and you would already have a unified developer experience. But because you are too lazy and you won't do that here is `appctl` to do that for you. |
| 11 | +Appctl executes your most common workflows in your development process through a simple and unified CLI across all your projects |
10 | 12 |
|
11 |
| -I hope you like it |
| 13 | +Actually this tool does nothing, your typical build tools do the job. You will use npm for nodejs apps, maven for java, docker for container images, ... Whatever tool, but `appctl` will invoke them for you. |
| 14 | +You may even forget about all of that but only remember to execute `appctl build` |
12 | 15 |
|
13 |
| -### Usage |
| 16 | +## Try it |
14 | 17 |
|
15 |
| -First install the binary |
| 18 | +To install from source, only pre-requisite is golang >= 1.13 |
16 | 19 | ```
|
17 | 20 | make install
|
18 | 21 | ```
|
19 | 22 |
|
20 |
| -Then you can use it :) |
21 |
| - |
22 |
| -Examples: |
23 |
| - |
| 23 | +Or just download and install it with the `install.sh` script |
24 | 24 | ```
|
25 |
| -appctl build examples/simple-app/ |
| 25 | +curl -sfL https://raw.githubusercontent.com/famartinrh/appctl/master/install.sh | sh - |
26 | 26 | ```
|
27 | 27 |
|
28 |
| -or |
| 28 | +There are some examples of applications using `appctl` under the folder `examples` |
29 | 29 |
|
| 30 | +#### Build, test and create a container image of Quarkus app (Java) |
30 | 31 |
|
31 | 32 | ```
|
32 | 33 | cd examples/simple-app
|
33 | 34 |
|
| 35 | +appctl status |
| 36 | +
|
| 37 | +appctl build |
| 38 | +
|
| 39 | +docker images | grep simple-app |
| 40 | +
|
| 41 | +cat app.yaml |
| 42 | +``` |
| 43 | + |
| 44 | +#### Microservices application using nodejs |
| 45 | + |
| 46 | +``` |
| 47 | +cd examples/microservices-example |
| 48 | +
|
| 49 | +appctl status |
| 50 | +
|
34 | 51 | appctl build
|
| 52 | +
|
| 53 | +docker images | grep appctl- |
| 54 | +
|
| 55 | +cat app.yaml |
| 56 | +
|
| 57 | +cat api-gateway/app.yaml |
35 | 58 | ```
|
36 | 59 |
|
37 |
| -https://www.gnu.org/software/make/manual/make.html |
| 60 | +<!-- ## How does it work? --> |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | +<!-- https://www.gnu.org/software/make/manual/make.html --> |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
38 | 69 |
|
0 commit comments