You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-40Lines changed: 13 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,64 +4,37 @@ A community driven UI for [Pulp](https://pulpproject.org/).
4
4
5
5
## How to run
6
6
7
-
### backend
7
+
### Backend
8
8
9
-
You can follow the [pulp-oci-images quickstart](https://pulpproject.org/pulp-oci-images/docs/admin/tutorials/quickstart/),
10
-
TLDR:
9
+
The `tests/run_container.sh` script is provided and allows you to run a command with a [Pulp in one](https://pulpproject.org/pulp-in-one-container/) container active.
You can clone the frontend from https://github.com/pulp/pulp-ui .
67
40
@@ -72,12 +45,12 @@ npm run start
72
45
73
46
and open http://localhost:8002/:tada: :)
74
47
75
-
If your API listens elsewhere, you can use `API_PROXY=http://elsewhere:12345 npm run start` instead. Do note that the server at `elsewhere` has to be configured to allow CORS requests for `localhost` (where UI actually listens); using something like `changeOrigin` is out of scope for pulp-ui, and breaks pulp API URLs (because the domains are based on the Origin header). Do NOT use webpack proxy in production.
48
+
If your PULP API listens elsewhere, you can use `API_PROXY=http://elsewhere:12345 npm run start` instead. Do note that the server at `elsewhere` has to be configured to allow CORS requests for `localhost` (where UI actually listens); using something like `changeOrigin` is out of scope for pulp-ui, and breaks pulp API URLs (because the domains are based on the Origin header). Do NOT use webpack proxy in production.
76
49
77
50
78
51
## Misc
79
52
80
-
### post-build configuration
53
+
### Post-build configuration
81
54
82
55
The UI builds produced by `npm run build` can be further configured by serving a `/pulp-ui-config.json` alongside the built UI.
83
56
(Note it has to be mapped at `/`, not just wherever `index.html` is served from.)
0 commit comments