match readme to efsw-file-monitoring main instead of proposed cleanup
This commit is contained in:
parent
ef4ea5b5df
commit
672fddb035
82
README.md
82
README.md
@ -1,43 +1,60 @@
|
|||||||
# joomer-efsw-file-monitoring
|
# joomer-efsw-bsz-monitoring
|
||||||
Watch folder for images and flip them
|
Watch folder for images and flip them
|
||||||
|
|
||||||
# Demonstrates
|
# Demonstrates
|
||||||
- file monitoring
|
- bsz monitoring
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
joomer-efsw-file-monitoring
|
joomer-efsw-bsz-monitoring
|
||||||
- drag and drop files into the test folder
|
- drag and drop bszs into the test folder
|
||||||
```
|
```
|
||||||
|
|
||||||
[todo]
|
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
```
|
```
|
||||||
learndir/
|
learndir/
|
||||||
└── joomer-efsw-bsz-file-monitoring/
|
└── joomer-efsw-bsz-monitoring/
|
||||||
|
└──x64
|
||||||
|
└──release
|
||||||
|
└──test
|
||||||
|
└──Linux
|
||||||
|
└──release
|
||||||
|
└──test
|
||||||
└── efsw
|
└── efsw
|
||||||
```
|
```
|
||||||
|
|
||||||
## Ubuntu Linux
|
## Ubuntu Linux
|
||||||
|
|
||||||
|
|
||||||
|
Run terminal
|
||||||
```
|
```
|
||||||
mkdir learndir
|
# Install the following if not already installed
|
||||||
cd learndir
|
sudo apt update
|
||||||
git clone https://github.com/SpartanJ/efsw.git
|
sudo apt install git
|
||||||
mkdir -p efsw/build
|
sudo apt install cmake
|
||||||
cd efsw/build
|
sudo apt install build-essential cmake # build-essential contains gcc,g++ and make
|
||||||
|
|
||||||
|
# create all the directories needed
|
||||||
|
mkdir learndir && cd learndir
|
||||||
|
mkdir efsw joomer-efsw-bsz-monitoring
|
||||||
|
|
||||||
|
# Build Entropia bsz System Watcher
|
||||||
|
cd efsw
|
||||||
|
git clone https://github.com/SpartanJ/efsw.git .
|
||||||
|
mkdir -p build
|
||||||
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make -j4
|
make -j$(nproc)
|
||||||
cd ../..
|
|
||||||
git clone https://git.indoodle.com/jason/joomer-bsz-efsw-file-monitoring.git
|
# Build joomer-efsw-bsz-monitoring
|
||||||
cd joomer-bsz-efsw-file-monitoring
|
cd ../../joomer-efsw-bsz-monitoring
|
||||||
git switch ProposedCleanup
|
git clone https://git.indoodle.com/jason/joomer-efsw-bsz-monitoring.git .
|
||||||
wget https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
|
wget https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
|
||||||
wget https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h
|
wget https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h
|
||||||
make all -j4
|
make all -j$(nproc)
|
||||||
mkdir bin/Linux/release/test
|
mkdir bin/Linux/release/test
|
||||||
bin/Linux/release/joomer-efsw-bsz-file-monitoring
|
bin/Linux/release/joomer-efsw-bsz-monitoring
|
||||||
```
|
```
|
||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
@ -48,21 +65,26 @@ bin/Linux/release/joomer-efsw-bsz-file-monitoring
|
|||||||
|
|
||||||
Run **x64 Native Tools Command Prompt for VS**
|
Run **x64 Native Tools Command Prompt for VS**
|
||||||
```
|
```
|
||||||
mkdir learndir
|
mkdir learndir && cd learndir
|
||||||
cd learndir
|
mkdir efsw joomer-efsw-bsz-monitoring
|
||||||
git clone https://github.com/SpartanJ/efsw.git
|
|
||||||
|
# Build Entropia bsz System Watcher
|
||||||
cd efsw
|
cd efsw
|
||||||
mkdir build
|
git clone https://github.com/SpartanJ/efsw.git .
|
||||||
cd build
|
cmake -B ./build
|
||||||
cmake ..
|
cmake --build ./build --config Release -j%NUMBER_OF_PROCESSORS%
|
||||||
msbuild efsw.sln /p:Configuration=Release
|
|
||||||
cd ..
|
# Build joomer-efsw-bsz-monitoring
|
||||||
git clone https://git.indoodle.com/jason/joomer-efsw-bsz-monitoring.git
|
cd ../joomer-efsw-bsz-monitoring
|
||||||
cd joomer-bsz-efsw-monitoring
|
git clone https://git.indoodle.com/jason/joomer-efsw-bsz-monitoring.git .
|
||||||
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
|
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
|
||||||
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h
|
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h
|
||||||
msbuild joomer-efsw-bsz-monitoring.vcxproj /p:Configuration=release
|
msbuild joomer-efsw-bsz-monitoring.vcxproj /p:Configuration=release
|
||||||
mkdir -p x64\release\test
|
|
||||||
|
# create test folder to put images in
|
||||||
|
mkdir x64\release\test
|
||||||
|
|
||||||
|
# run
|
||||||
x64\release\joomer-efsw-bsz-monitoring.exe
|
x64\release\joomer-efsw-bsz-monitoring.exe
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user