|
1 | 1 | Installer for Openshift Serverless
|
2 | 2 | ==================================
|
3 | 3 |
|
| 4 | +[](https://travis-ci.com/wavesoftware/serverless-installer) |
| 5 | + |
4 | 6 | Installer will create a usable installation of Openshift's Serverless Platform.
|
5 | 7 |
|
6 | 8 | ## Usage
|
7 | 9 |
|
| 10 | +### Interactive |
| 11 | + |
| 12 | +This command invoked without any parameters will enter TUI. |
| 13 | +User is asked couple questions and then his answers are save on disk to |
| 14 | +be later used by deploy command. |
| 15 | + |
| 16 | +```bash |
| 17 | +serverless-installer |
| 18 | +``` |
| 19 | + |
| 20 | +### Deploy |
| 21 | + |
| 22 | +This command will deploy a serverless platform on currently configured Openshift cluster. |
| 23 | + |
8 | 24 | ```bash
|
9 |
| -serverless-installer deploy |
| 25 | +serverless-installer deploy --answers serverless-installer-answers.yaml |
10 | 26 | ```
|
11 | 27 |
|
12 |
| -This command will deploy a serverless platform on currently configured cluster. |
| 28 | +Answers are expected to be produced by interactive mode. |
| 29 | + |
| 30 | +## Installation |
| 31 | + |
| 32 | +### Go |
| 33 | + |
| 34 | +if you have usable Go `>= 1.13` installation simply invoke: |
13 | 35 |
|
14 | 36 | ```bash
|
15 |
| -serverless-installer script |
16 |
| -``` |
| 37 | +go get -u github.com/wavesoftware/serverless-installer |
| 38 | +``` |
| 39 | + |
| 40 | +This will produce a binary that you can use. |
| 41 | + |
| 42 | +### Precompiled binaries |
| 43 | + |
| 44 | +**To be determined!** |
| 45 | + |
| 46 | +Procompiled binaries can be found in GitHub's releases page: |
| 47 | + |
| 48 | + * [Linux amd64](https://github.com/wavesoftware/serverless-installer/releases/latest) |
| 49 | + * [MacOSX amd64](https://github.com/wavesoftware/serverless-installer/releases/latest) |
| 50 | + * [Windows amd64](https://github.com/wavesoftware/serverless-installer/releases/latest) |
| 51 | + |
| 52 | +## Development |
| 53 | + |
| 54 | +To build simply invoke (it will check & test the code as well): |
| 55 | + |
| 56 | +```bash |
| 57 | +make |
| 58 | +``` |
| 59 | + |
| 60 | +Go `>= 1.13` is required to build. |
| 61 | + |
| 62 | +Contributions are welcome! |
| 63 | + |
| 64 | +To contribute, follow the standard [git flow](http://danielkummer.github.io/git-flow-cheatsheet/) of: |
| 65 | + |
| 66 | +1. Fork it |
| 67 | +1. Create your feature branch (`git checkout -b feature/my-new-feature`) |
| 68 | +1. Commit your changes (`git commit -am 'Add some feature'`) |
| 69 | +1. Push to the branch (`git push origin feature/my-new-feature`) |
| 70 | +1. Create new Pull Request |
| 71 | + |
| 72 | +Even if you can't contribute code, if you have an idea for an improvement |
| 73 | +please open an [issue](https://github.com/wavesoftware/serverless-installer/issues). |
0 commit comments