mirror of
https://github.com/certbot/certbot.git
synced 2026-01-23 07:20:55 +03:00
Address #726 review comments
This commit is contained in:
@@ -68,17 +68,16 @@ The following tools are there to help you:
|
||||
Integration
|
||||
~~~~~~~~~~~
|
||||
|
||||
First, install `Go`_ 1.5 (pick a value for GOPATH and put $GOPATH/bin in your
|
||||
PATH), libtool-ltdl, mariadb-server and rabbitmq-server and then start
|
||||
Boulder_, an ACME CA server::
|
||||
First, install `Go`_ 1.5, libtool-ltdl, mariadb-server and
|
||||
rabbitmq-server and then start Boulder_, an ACME CA server::
|
||||
|
||||
./tests/boulder-start.sh
|
||||
|
||||
The script will download, compile and run the executable; please be patient -
|
||||
it will take some time... Once its ready, you will see ``Server running,
|
||||
listening on 127.0.0.1:4000...``. Add the ``venv/bin/`` subdirectory of your
|
||||
letsencrypt repo to your path, and add an ``/etc/hosts`` entry pointing
|
||||
``le.wtf`` to 127.0.0.1. You may now run (in a separate terminal)::
|
||||
The script will download, compile and run the executable; please be
|
||||
patient - it will take some time... Once its ready, you will see
|
||||
``Server running, listening on 127.0.0.1:4000...``. Add an
|
||||
``/etc/hosts`` entry pointing ``le.wtf`` to 127.0.0.1. You may now
|
||||
run (in a separate terminal)::
|
||||
|
||||
./tests/boulder-integration.sh && echo OK || echo FAIL
|
||||
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
. ./tests/integration/_common.sh
|
||||
export PATH="/usr/sbin:$PATH" # /usr/sbin/nginx
|
||||
|
||||
export GOPATH="${GOPATH:-/tmp/go}"
|
||||
export PATH="$GOPATH/bin:$PATH"
|
||||
|
||||
common() {
|
||||
letsencrypt_test \
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
# Download and run Boulder instance for integration testing
|
||||
|
||||
export GOPATH="${GOPATH:-/tmp/go}"
|
||||
export PATH="$GOPATH/bin:$PATH"
|
||||
|
||||
# `/...` avoids `no buildable Go source files` errors, for more info
|
||||
# see `go help packages`
|
||||
|
||||
Reference in New Issue
Block a user