Skip to content

Commit 7190e8d

Browse files
authoredOct 28, 2017
Merge pull request #2393 from magicansk/patch-1
Automatic merge from submit-queue. Update README.md
2 parents bcff08c + 15146a3 commit 7190e8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Contributing
1717

1818
Note: If you see an ENOSPC error, you may need to increase the number of files your user can watch by running this command:
1919

20-
```
20+
```shell
2121
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
2222
```
2323
1. Accept the self-signed certificate for the web console. (For Chrome on OS X, import `server.crt` into Keychain Access or accept the web console certificate in Safari.)
@@ -26,7 +26,7 @@ Contributing
2626

2727
Debug logging can be enabled by opening your browser's JavaScript console, running the commands below, and then refreshing the page.
2828
29-
```
29+
```shell
3030
localStorage["OpenShiftLogLevel.main"] = "<log level>";
3131
localStorage["OpenShiftLogLevel.auth"] = "<log level>";
3232
```
@@ -141,13 +141,13 @@ The v3 console supports a custom context root. When running as part of the `ope
141141

142142
For example if you want to specify a URL directly in an HTML template to go to the project overview it would look like
143143

144-
```
144+
```html
145145
<a href="project/foo/overview">
146146
```
147147

148148
and would actually resolve to be `/contextroot/project/foo/overview` by the browser. Similarly, if you want to use JavaScript to change the current page location, you should use the $location service from angular like
149149

150-
```
150+
```javascript
151151
$location.url("project/foo/overview")
152152
```
153153

0 commit comments

Comments
 (0)
Please sign in to comment.