Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
massimobernava authored May 21, 2021
1 parent 765673e commit a96234c
Showing 1 changed file with 52 additions and 3 deletions.
55 changes: 52 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,58 @@
## Installation


## Server

sudo apt install git cmake lua5.1 liblua5.1-0-dev libssl-dev libcurl4-openssl-dev libsqlite3-dev libmicrohttpd-dev libjson-c-dev libenet-dev
## Server Linux

Install the required libraries:
```bash
sudo apt install git cmake libluajit-5.1-dev libssl-dev libcurl4-openssl-dev libjson-c-dev libmicrohttpd-dev libsqlite3-dev libzmq3-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev libopencv-dev
```

Optional install nosql ejdb2 database:
```bash
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:adamansky/ejdb2
sudo apt-get install ejdb2
```

Install Tensorflow Lite:
```bash
git clone https://github.com/tensorflow/tensorflow.git tensorflow_src
mkdir tflite_build
cd tflite_build
cmake ../tensorflow_src/tensorflow/lite/c -DTFLITE_ENABLE_GPU=ON
cmake --build . -j
```

Clone repository and use cmake:
```bash
git clone https://github.com/massimobernava/proteo.git
cd proteo/server
mkdir build
cd build
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl ..
make
```

Update config.json:
```json
{ "version":"0.1",
"basedir":"/usr/local/etc/Proteo/",
"baseurl":"YOUR_LOCAL_IP",
"port":8888,"master":1,"ssl":0,
"server_key":"01234567890123456789012345678901",
"client_key":"01234567890123456789012345678901",
"ssl_key":"",
"ssl_cert":"",
"admin_enabled":1,"plugins":["proteo","admin","edit","deepcrimson","deepindigo"],
"servers":[]
}
```
Install it as a service:
```bash
chmod +x ./install.sh
sudo ./install.sh
```

## Client

Expand Down

0 comments on commit a96234c

Please sign in to comment.