Updated Local installation (markdown)

Masataro Asai 2015-11-05 23:52:17 +09:00
parent 8732191d43
commit 3ddfcada20

@ -1,14 +1,17 @@
The installation directory of roswell is configurable by specifying --prefix option to ./configure. The default location is /usr/local. Actual binary and supporting files are finally installed into $PREFIX/share/common-lisp/source/roswell/.
In [1.-Installation](1.-Installation), we described how to install roswell from the source, but it assumed the global installation.
This is useful when using roswell as a backend of CI services (e.g. travis): When you specify a directory accessible without root permission, then you can switch to the new container-based infrastructure for faster startup (of the tests).
However, local installation is available. **The installation directory is configurable** by specifying `--prefix` option to `./configure`. The default location is `/usr/local`. Actual binary and supporting files are finally installed into `$PREFIX/share/common-lisp/source/roswell/`.
This option can be used to write an installation script for CI services, but we already provide such a script for Travis, CircleCI and Coverall using this feature.
This is useful when using roswell as a backend of CI services (e.g. travis): When you specify a directory accessible without root permission, then you can switch to the new [container-based infrastructure](http://docs.travis-ci.com/user/workers/container-based-infrastructure/) for faster startup (of the tests).
This option can be used to write an installation script for CI services, but [we already provide such a script for Travis, CircleCI and Coverall](4.-Roswell-as-a-Testing-Environment-(Travis-CI-and-Coverall)) using this feature.
Example:
$ git clone -b release https://github.com/snmsts/roswell.git
$ cd roswell
$ sh bootstrap
$ ./configure --prefix ~/.local/
$ make && make install ### in this case, no sudo is required!
$ ~/.local/bin/ros
$ git clone -b release https://github.com/snmsts/roswell.git
$ cd roswell
$ sh bootstrap
$ ./configure --prefix ~/.local/
$ make && make install ### in this case, no sudo is required!
$ ~/.local/bin/ros