|
| 1 | +````markdown |
1 | 2 |  |
2 | 3 |
|
3 | | -[](https://codeclimate.com/github/openjaf/cenit) |
4 | 4 | [](https://codebeat.co/projects/github-com-cenit-io-cenit) |
5 | 5 | []() |
6 | 6 |
|
7 | | -[![OpenAPIs in collection][numApis-image]][apisDir-link] |
8 | | -[![OpenAPI specs][numSpecs-image]][apisDir-link] |
9 | | -[![Endpoints][endpoints-image]][apisDir-link] |
| 7 | +# Cenit IO Admin App (UI) |
10 | 8 |
|
11 | | -[![Follow on Twitter][twitterFollow-image]][twitterFollow-link] |
| 9 | +This is a React‐based administration interface for the Cenit IO integration platform (iPaaS). |
12 | 10 |
|
| 11 | +- **cenit-server (GitHub “cenit” repo)**: |
| 12 | + https://github.com/cenit-io/cenit |
13 | 13 |
|
14 | | -* [Join our Slack][join-slack-link] |
15 | | -[(cenitio.slack.com)][join-slack-link] |
16 | | -* [docs](https://docs.cenit.io/) |
17 | | -* [Shared Collections](https://cenit.io/setup~shared_collection) |
18 | | -* support@cenit.io |
| 14 | +- **cenit-ui (GitHub “ui” repo)**: |
| 15 | + https://github.com/cenit-io/ui |
19 | 16 |
|
20 | | -# [Cenit](https://web.cenit.io) |
| 17 | +--- |
21 | 18 |
|
22 | | -Is a 100% open integration-platform-as-a-service (iPaaS) that's modern, powerful, yet hackable to the core, ready to [use in the cloud](https://web.cenit.io) or on-premises. It is designed to solve unique integrations needs, orchestrate data flows that may involve types of protocols and data formats, and provide API management capabilities. All of which can support a wide range of integration use cases. It is particularly valuable to embrace a pervasive integration approach. |
| 19 | +## Installation |
23 | 20 |
|
24 | | -To install and learn more about the platform check the [documentation](https://docs.cenit.io/) |
| 21 | +For a complete, Docker‐based installation of both the backend (`cenit-server`) and this UI, see the [Docker Installation Guide](docker-installation.md). |
| 22 | +(The guide includes links to the relevant `docker-compose.yml` and Dockerfiles.) |
25 | 23 |
|
26 | | -# Cenit IO Admin App |
| 24 | +--- |
27 | 25 |
|
28 | | -This is a React application for the administration of a Cenit IO integration Platform (iPaaS). |
| 26 | +## Configuration |
29 | 27 |
|
30 | | -## Configuring the Admin App |
31 | | - |
32 | | -1. **Configure the Cenit listening port.** In the example bellow the Admin App runs is listening to the port `3000` therefore the local |
33 | | -instance of Cenit IO server should run listening to a different one, in the example the port `3001`. |
34 | | - |
35 | | -Set the docker runtime environment variables to the right values: |
| 28 | +If you need to customize the Admin App (outside of Docker), set the following environment variables: |
36 | 29 |
|
| 30 | +- `REACT_APP_USE_ENVIRONMENT_CONFIG=true` |
37 | 31 | - `REACT_APP_APP_ID=admin` |
38 | | -- `REACT_APP_CENIT_HOST=http://127.0.0.1:3001` |
39 | | - |
40 | | -## Configuring the Cenit Backend Server |
41 | | - |
| 32 | +- `REACT_APP_LOCALHOST=http://localhost:3002` |
| 33 | +- `REACT_APP_CENIT_HOST=http://<YOUR_CENIT_SERVER_HOST>:<PORT>` |
42 | 34 |
|
43 | | -1. **Configure the Cenit HOMEPAGE URL.** Make sure that Cenit HOMEPAGE URL is synced with the listening port by including |
44 | | -in the `config/application.yml` file the entry `HOMEPAGE: http://127.0.0.1:3001`. |
| 35 | +These values will be injected at runtime into `config.js`. |
45 | 36 |
|
46 | | -2. **Configure the default URI for the admin app.** By default the Admin App runs listening to the port `3000`. |
47 | | -Include in the `config/application.yml` file the entry `'Cenit::Admin:default_uri': http://localhost:3000`. |
| 37 | +--- |
48 | 38 |
|
49 | | -``` |
50 | | -# config/application.yml |
51 | | -HOMEPAGE: http://127.0.0.1:3001 |
52 | | -'Cenit::Admin:default_uri': http://localhost:3000 |
53 | | -# ... |
54 | | -``` |
55 | | - |
56 | | -And that's all! |
57 | 39 | ## Run with Docker |
58 | 40 |
|
59 | | - |
60 | | -`docker pull ghcr.io/cenit-io/ui:latest` |
61 | | - |
62 | | -``` |
63 | | -docker run -dti -e REACT_APP_LOCALHOST=http://127.0.0.1:3001 \ |
64 | | - -e REACT_APP_CENIT_HOST=http://127.0.0.1:3000 \ |
65 | | - -p 3000:80 \ |
66 | | - --name cenit-ui ghcr.io/cenit-io/ui:latest |
| 41 | +To pull and run the latest UI image: |
| 42 | + |
| 43 | +```bash |
| 44 | +docker pull ghcr.io/cenit-io/ui:latest |
| 45 | +docker run -dti \ |
| 46 | + -e REACT_APP_USE_ENVIRONMENT_CONFIG=true \ |
| 47 | + -e REACT_APP_APP_ID=admin \ |
| 48 | + -e REACT_APP_LOCALHOST=http://127.0.0.1:3002 \ |
| 49 | + -e REACT_APP_CENIT_HOST=http://127.0.0.1:3000 \ |
| 50 | + -p 3002:80 \ |
| 51 | + --name cenit-ui ghcr.io/cenit-io/ui:latest |
67 | 52 | ``` |
68 | | -Navigate to http://localhost:3000/ in your browser to view the app. |
69 | | - |
70 | | -## Contributing |
| 53 | +```` |
71 | 54 |
|
72 | | -Cenit IO is an open-source project and we encourage contributions. |
| 55 | +Navigate to [http://localhost:3002](http://localhost:3002) in your browser to access the Admin App. |
73 | 56 |
|
74 | | -In the spirit of [free software](http://www.fsf.org/licensing/essays/free-sw.html), **everyone** is encouraged to help |
75 | | -improve this project. |
| 57 | +--- |
76 | 58 |
|
77 | | -Here are some ways **you** can contribute: |
78 | | - |
79 | | -* by using prerelease master branch |
80 | | -* by reporting [bugs](https://github.com/cenit-io/cenit/issues/new) |
81 | | -* by writing or editing [documentation](https://github.com/cenit-io/cenit-docs) |
82 | | -* by writing [needed code](https://github.com/cenit-io/cenit/labels/feature_request) or [finishing code](https://github.com/cenit-io/cenit/labels/address_feedback) |
83 | | -* by [refactoring code](https://github.com/cenit-io/cenit/labels/address_feedback) |
84 | | -* by reviewing [pull requests](https://github.com/cenit-io/cenit/pulls) |
85 | | - |
86 | | -## To the Community |
87 | | - |
88 | | -Since the challenge is great, we have to build the solution in the community. We believe that a successful open source project provides confidence, facilitates creating a broad community, where everyone can share answers to questions, suggestions, and improvements to the platform. |
| 59 | +## Contributing |
89 | 60 |
|
90 | | -We encourage the community to join the initiative and contribute to the dissemination of the project, sharing integration experiences, collaborating in the detection and resolution of errors, or contributing to the development of the project. We hope that those who join us enjoy the collaborative work and the challenge of achieving something innovative and useful that can potentially serve many others. |
| 61 | +Cenit IO is an open‐source project and we welcome contributions. Here are some ways to get involved: |
91 | 62 |
|
92 | | -## Screenshots |
| 63 | +- Report bugs or request features: [Issues](https://github.com/cenit-io/cenit/issues/new) |
| 64 | +- Improve documentation: |
93 | 65 |
|
94 | | - |
| 66 | + - Platform docs: [https://github.com/cenit-io/cenit-docs](https://github.com/cenit-io/cenit-docs) |
| 67 | + - UI docs: [https://github.com/cenit-io/ui](https://github.com/cenit-io/ui) |
95 | 68 |
|
96 | | - |
| 69 | +- Submit code changes: |
97 | 70 |
|
98 | | - |
| 71 | + - Feature requests: [https://github.com/cenit-io/cenit/labels/feature_request](https://github.com/cenit-io/cenit/labels/feature_request) |
| 72 | + - Feedback/bug fixes: [https://github.com/cenit-io/cenit/labels/address_feedback](https://github.com/cenit-io/cenit/labels/address_feedback) |
99 | 73 |
|
100 | | - |
| 74 | +- Review and merge pull requests |
101 | 75 |
|
102 | | -[numApis-image]: https://api.apis.guru/badges/apis_in_collection.svg |
103 | | -[numSpecs-image]: https://api.apis.guru/badges/openapi_specs.svg |
104 | | -[endpoints-image]: https://api.apis.guru/badges/endpoints.svg |
105 | | -[apisDir-link]: https://github.com/APIs-guru/openapi-directory/tree/master/APIs |
106 | | -[twitterFollow-image]: https://img.shields.io/twitter/follow/cenit_io.svg?style=social |
107 | | -[twitterFollow-link]: https://twitter.com/intent/follow?screen_name=cenit_io |
108 | | -[join-slack-link]: |
109 | | -https://join.slack.com/t/cenitio/shared_invite/zt-1cq3uab52-Jv93F8R2BJ9MHr00SbCqjw |
| 76 | +--- |
0 commit comments