@@ -126,31 +126,31 @@ Follow the prompts that follow.
126
126
127
127
2 . Open the following URL
128
128
```
129
- http://localhost:8002/beta/openshift/cost-management
129
+ http://localhost:8002/beta/openshift/cost-management
130
130
```
131
131
132
132
#### Koku API
133
133
Refer to the project [ README] [ koku-readme ] for prerequisites
134
134
135
135
1 . Setup & run Koku API (see project [ README] [ koku-readme ] for more details)
136
136
```
137
- > git clone git@github.com:project-koku/koku.git
138
- > cd [KOKU_GIT_REPO]
139
- > pipenv install --dev
140
- > pipenv shell "pre-commit install"
141
- > make docker-up-min or make docker-up-min-trino
142
- > make create-test-customer
143
- > make load-test-customer-data (use with docker-up-min-trino)
137
+ git clone git@github.com:project-koku/koku.git
138
+ cd [KOKU_GIT_REPO]
139
+ pipenv install --dev
140
+ pipenv shell "pre-commit install"
141
+ make docker-up-min or make docker-up-min-trino
142
+ make create-test-customer
143
+ make load-test-customer-data (use with docker-up-min-trino)
144
144
```
145
145
146
146
2 . Check to see if containers are running (optional)
147
147
```
148
- > docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Ports}}\t{{.Status}}"
148
+ docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Ports}}\t{{.Status}}"
149
149
```
150
150
151
151
3 . Watch the Koku API logs in another terminal (optional)
152
152
```
153
- > docker-compose logs -f koku-server koku-worker
153
+ docker-compose logs -f koku-server koku-worker
154
154
```
155
155
156
156
4 . Clean up (optional)
@@ -168,21 +168,21 @@ Follow the [steps](#koku-api) to run a local Koku API instance
168
168
169
169
1 . Clone the Settings Frontend repository and install dependencies
170
170
```
171
- > git clone https://github.com/RedHatInsights/settings-frontend.git
172
- > cd [SETTINGS_FRONTEND_GIT_REPO]
173
- > npm install
171
+ git clone https://github.com/RedHatInsights/settings-frontend.git
172
+ cd [SETTINGS_FRONTEND_GIT_REPO]
173
+ npm install
174
174
```
175
175
176
176
2 . Set the following variables in your environment
177
177
```
178
- > export API_PORT=8000
179
- > export LOCAL_API="/api/cost-management/v1/"
180
- > export KEYCLOAK_PORT=4020
178
+ export API_PORT=8000
179
+ export LOCAL_API="/api/cost-management/v1/"
180
+ export KEYCLOAK_PORT=4020
181
181
```
182
182
183
183
3 . Start development server
184
184
```
185
- > npm run start:standalone:beta
185
+ npm run start:standalone:beta
186
186
```
187
187
188
188
4 . Open the following URL
0 commit comments