README.md in ohloh_scm-3.0.13 vs README.md in ohloh_scm-3.0.14
- old
+ new
@@ -18,20 +18,16 @@
One may use Docker to run Ohloh SCM and test changes.
```sh
$ git clone https://github.com/blackducksoftware/ohloh_scm
$ cd ohloh_scm
-$ git checkout -b v3
+$ docker build -t ohloh_scm:foobar .
# To run all tests, we need to start the ssh server and set UTF-8 locale for encoding tests.
$ cmd='/etc/init.d/ssh start; LANG=en_US.UTF-8 rake test 2> /dev/null'
-$ docker run -P -v $(pwd):/home/app/ohloh_scm -ti ohdeployer/ohloh_scm:ubuntu18 /bin/sh -c "$cmd"
+$ docker run --rm -P -v $(pwd):/home/app/ohloh_scm -ti ohloh_scm:foobar /bin/sh -c "$cmd"
# This mounts the current folder into the docker container;
# hence any edits made in ohloh_scm on the host machine would reflect in the container.
-
-# One may also edit the Dockerfile & build the image locally for other distros.
-$ docker build -t ohloh_scm:custom .
-$ docker run -P -v $(pwd):/home/app/ohloh_scm -ti ohloh_scm:custom /bin/bash
```
## Development Setup
Besides docker, one could setup OhlohScm locally on Ubuntu with the following commands: