Add configure script and manual setup instructions
This commit is contained in:
parent
2f478441ce
commit
81b124a7c7
2 changed files with 28 additions and 3 deletions
17
README.md
17
README.md
|
@ -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:
|
||||
|
@ -28,4 +39,4 @@ make
|
|||
[ ] Write Android client
|
||||
[ ] Write Windows 10 client OR Java client
|
||||
[ ] Write GTK client (if not Java client)
|
||||
[ ] Write Mac client (if not Java client)
|
||||
[ ] Write Mac client (if not Java client)
|
||||
|
|
14
configure
vendored
Executable file
14
configure
vendored
Executable 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
|
Loading…
Reference in a new issue