Improve installation instructions
This commit is contained in:
parent
584dae7437
commit
6ab862836b
31
README.md
31
README.md
|
|
@ -40,6 +40,10 @@ CentOS:
|
||||||
|
|
||||||
sudo yum install libtool-ltdl-devel MariaDB-server MariaDB-client rabbitmq-server
|
sudo yum install libtool-ltdl-devel MariaDB-server MariaDB-client rabbitmq-server
|
||||||
|
|
||||||
|
Arch Linux:
|
||||||
|
|
||||||
|
sudo pacman -S libtool mariadb rabbitmq --needed
|
||||||
|
|
||||||
OS X:
|
OS X:
|
||||||
|
|
||||||
brew install libtool mariadb rabbitmq
|
brew install libtool mariadb rabbitmq
|
||||||
|
|
@ -50,24 +54,33 @@ or
|
||||||
|
|
||||||
(On OS X, using port, you will have to add `CGO_CFLAGS="-I/opt/local/include" CGO_LDFLAGS="-L/opt/local/lib"` to your environment or `go` invocations.)
|
(On OS X, using port, you will have to add `CGO_CFLAGS="-I/opt/local/include" CGO_LDFLAGS="-L/opt/local/lib"` to your environment or `go` invocations.)
|
||||||
|
|
||||||
|
Resolve Go-dependencies:
|
||||||
|
|
||||||
> go get bitbucket.org/liamstask/goose/cmd/goose
|
> go get bitbucket.org/liamstask/goose/cmd/goose
|
||||||
> go get github.com/jsha/listenbuddy
|
> go get github.com/jsha/listenbuddy
|
||||||
> go get github.com/letsencrypt/boulder/ # Ignore errors about no buildable files
|
> go get github.com/letsencrypt/boulder/ # Ignore errors about no buildable files
|
||||||
|
> go get -u github.com/golang/lint/golint
|
||||||
|
|
||||||
|
Set up a database:
|
||||||
|
|
||||||
> cd $GOPATH/src/github.com/letsencrypt/boulder
|
> cd $GOPATH/src/github.com/letsencrypt/boulder
|
||||||
> ./test/create_db.sh
|
> ./test/create_db.sh
|
||||||
# This starts each Boulder component with test configs. Ctrl-C kills all.
|
|
||||||
> ./start.py
|
|
||||||
# Run tests
|
|
||||||
> go get -u github.com/golang/lint/golint
|
|
||||||
> ./test.sh
|
|
||||||
|
|
||||||
Note: `create_db.sh` it uses the root MariaDB user with the default
|
**Note**: `create_db.sh` uses the root MariaDB user with the default
|
||||||
password, so if you have disabled that account or changed the password
|
password, so if you have disabled that account or changed the password
|
||||||
you may have to adjust the file or recreate the commands.
|
you may have to adjust the file or recreate the commands.
|
||||||
|
|
||||||
You can also check out the official client from
|
Start each boulder component with test configs (Ctrl-C kills all):
|
||||||
https://github.com/letsencrypt/letsencrypt/ and follow the setup
|
|
||||||
instructions there.
|
> ./start.py
|
||||||
|
|
||||||
|
Run tests:
|
||||||
|
|
||||||
|
> ./test.sh
|
||||||
|
|
||||||
|
Working with a client:
|
||||||
|
|
||||||
|
Check out the official Let's Encrypt client from https://github.com/letsencrypt/letsencrypt/ and follow the setup instructions there.
|
||||||
|
|
||||||
Component Model
|
Component Model
|
||||||
---------------
|
---------------
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue