Moved the dependency installation instructions to README.md as suggested in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-515909842

This commit is contained in:
eidheim 2019-07-30 21:02:47 +02:00
commit 8c14611102
2 changed files with 20 additions and 24 deletions

View file

@ -31,7 +31,26 @@ Particularly, the JSON-POST (using Boost.PropertyTree) and the GET /match/[numbe
* Boost is required to compile the examples
* For HTTPS: OpenSSL libraries
See [dependency installation instructions](https://gitlab.com/eidheim/Simple-Web-Server/blob/master/docs/dependency_install.md) for further information.
Installation instructions for the dependencies needed to compile the examples on a selection of platforms can be seen below.
Default build with Boost.Asio is assumed. Turn on CMake option `USE_STANDALONE_ASIO` to instead use standalone Asio.
### Debian based distributions
```sh
sudo apt-get install libssl-dev libboost-filesystem-dev libboost-thread-dev
```
### Arch Linux based distributions
```sh
sudo pacman -S boost
```
### MacOS
```sh
brew install openssl boost
```
## Compile and run

View file

@ -1,23 +0,0 @@
# Dependency installation instructions
Installation instructions for the dependencies of the example files on a selection of platforms.
Default build with Boost.Asio is assumed. Turn on CMake option `USE_STANDALONE_ASIO` to instead use standalone Asio.
## Debian based distributions
```sh
sudo apt-get install libssl-dev libboost-filesystem-dev libboost-thread-dev
```
## Arch Linux based distributions
```sh
sudo pacman -S boost
```
## MacOS
```sh
brew install openssl boost
```