Add configure script and manual setup instructions

This commit is contained in:
William Brawner 2018-02-15 07:59:58 -06:00
parent 2f478441ce
commit 81b124a7c7
2 changed files with 28 additions and 3 deletions

View file

@ -4,12 +4,23 @@ This repo houses the library behind Feader. The idea behind the project is to se
## Configuring the Environment
On Ubuntu, run the following:
### Ubuntu
Install the following packages
```
sudo apt install cmake libcurl3-openssl-dev libxml2-dev libsqlite3-dev
cmake libcurl3-openssl-dev libxml2-dev libsqlite3-dev
```
OR run the configure script:
```
./configure
```
### Windows
WIP
## Building
Clone the repo, then run the following:

14
configure vendored Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
source /etc/os-release
if [ "$ID" != "ubuntu" ]; then
echo "Unsupported build system. \
Please try on Ubuntu, or modify the script to support your system.";
exit 1;
fi
sudo apt install -y cmake libcurl3-openssl-dev libsqlite3-dev libxml2-dev
test -d build && rm -rf build
mkdir build