Added documentation on how to setup and how to use it with pyinstaller
This commit is contained in:
3 files changed
+60
No files matched your search
@@ -1,2 +1,21 @@
|
||||
# DiaShower
|
||||
A chromecast ambient mode like Diashow
|
||||
|
||||
|
||||
## Setup and run
|
||||
1. Make sure python is installed
|
||||
2. Create a python VENV `python -m venv DiaShower-venv`
|
||||
3. Activate the VENV `. ./DiaShower-venv/bin/activate` for :Linux or `.\DiaShower-venv\Scripts\Activate.ps1` for Windows
|
||||
4. Install dependencies `pip install -r requirements.txt`
|
||||
5. Copy the `config.json.example` to `config.json.example' and edit it to fit your needs
|
||||
6. Create the the images folder definded in the config and put your images in to it
|
||||
7. Run with `python server.py`
|
||||
|
||||
## Convert to binary (Advanced)
|
||||
* Make sure the VENV is still activated
|
||||
1. Install `pyinstaller` using `pip install -U pyinstaller`
|
||||
2. Create binary using `pyinstaller server-pyinstaller.spec`
|
||||
3. The binary is created in the dist folder, to use it create a config an the configured image folder here (or wherever you move the binary to)
|
||||
|
||||
* if you wish to cleanup you can remove the build (and if you copied the binary somware else the dist folder)
|
||||
* Removing `pyinstaller` is safe you can use `pip uninstall -y altgraph setuptools packaging pyinstaller-hooks-contrib pyinstaller pywin32-ctypes pefile`
|
||||
Reference in new issue
Block a user