Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 10 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,24 +56,17 @@ To experiment with an A/B deployment scenario, follow the instructions in the bl
## Developing on the fly in Openshift3

Edit the buildconfig:

-- change from Git to binary
source:
type: Git
git:
uri: 'https://github.com/eformat/cotd.git'
secrets: null

-- to this
source:
type: Binary

-- then build with
oc start-build --from-dir=. cotd

```
oc export bc/cotd | sed s/Source/Binary/ | oc replace -f -
```
then build with
```
oc start-build --from-dir=. cotd
```
You may also wish to enable live reload for php image (don't do this in prod)

oc set env dc/cotd OPCACHE_REVALIDATE_FREQ=0
```
oc set env dc/cotd OPCACHE_REVALIDATE_FREQ=0
```

## Parse the pods running statistics

Expand Down