put back readme

This commit is contained in:
Jason Ly 2025-12-28 21:23:33 -05:00
parent aa8a02b1de
commit 39473834cc

57
README.md Normal file
View File

@ -0,0 +1,57 @@
# joomer-efsw-file-monitoring
Watch folder for images and flip them
# Demonstrates
- file monitoring
# Usage
```
joomer-ftxui-file-monitoring
- drag and drop files into the path folder
```
[todo]
# Build
```
learndir/
└── joomer-ftxui-file-monitoring/
```
- Download and Install Premake
## Ubuntu Linux (kasm-ubuntu)
```
mkdir learndir
cd learndir
git clone https://git.indoodle.com/jason/joomer-efsw-file-monitoring.git
cd joomer-ftxui-file-browser
make all
bin/Linux/release/joomer-ftxui-file-monitoring
```
## Windows (win10 enterprise)
- Download Visual Studio Community Edition 2022
- Run VisualStudioSetup.exe
- Workload = [x] Desktop developemnt with C++
- Individial components = [x] Git For Windows
Run **x64 Native Tools Command Prompt for VS 2022**
```
mkdir learndir
cd learndir
git clone https://git.indoodle.com/jason/joomer-ftxui-file-monitoring.git
cd joomer-ftxui-file-monitoring
msbuild joomer-ftxui-file-monitoring.vcxproj /t:Build /p:Configuration=Debug /p:Platform=x64
bin\Debug\joomer-ftxui-file-monitoring.exe
```
For a prototype app we can just dump the stb headers right into the joomer-efsw-file-monitoring/src dir for simplicity
```
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
make all -j4
```