Skip to content

Commit

Permalink
Switch flask branch to beta and fix it's dir structure
Browse files Browse the repository at this point in the history
  • Loading branch information
HepoH3 committed Jun 24, 2021
1 parent 2a63c20 commit 8af6ced
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
9 changes: 7 additions & 2 deletions diyhue-flask/Dockerfile → diyhue-beta/Dockerfile
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN mkdir diyhue config ${WORKING_DIR}
RUN apk add -q -u python3 openssl nmap psmisc iproute2 alpine-sdk build-base

# Download diyhue and untar it
RUN curl -J -L -o $diyhue.tar.gz "https://github.com/diyhue/diyHue/archive/refs/heads/flask.tar.gz" \
RUN curl -J -L -o $diyhue.tar.gz "https://github.com/diyhue/diyHue/archive/refs/heads/beta.tar.gz" \
&& tar xzvf $diyhue.tar.gz --strip-components=1 -C diyhue \
&& rm -rf $diyhue.tar.gz \
&& pip3 install -r /diyhue/requirements.txt --no-cache-dir
Expand All @@ -31,9 +31,14 @@ RUN curl -J -L -o $diyhue.tar.gz "https://github.com/diyhue/diyHue/archive/refs/
WORKDIR /opt/hue-emulator

# Install diyHue
RUN mv /diyhue/BridgeEmulator/HueObjects/ ./HueObjects/
RUN mv /diyhue/BridgeEmulator/configManager/ ./configManager/
RUN mv /diyhue/BridgeEmulator/flaskUI/ ./flaskUI/
RUN mv /diyhue/BridgeEmulator/functions/ ./functions/
RUN mv /diyhue/BridgeEmulator/protocols/ ./protocols/
RUN mv /diyhue/BridgeEmulator/lights/ ./lights/
RUN mv /diyhue/BridgeEmulator/logManager/ ./logManager/
RUN mv /diyhue/BridgeEmulator/sensors/ ./sensors/
RUN mv /diyhue/BridgeEmulator/services/ ./services/
RUN mv /diyhue/BridgeEmulator/HueEmulator3.py /diyhue/BridgeEmulator/debug/clip.html ./
RUN mv /diyhue/BridgeEmulator/genCert.sh /diyhue/BridgeEmulator/openssl.conf ./

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 3 additions & 4 deletions diyhue-flask/config.json → diyhue-beta/config.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "diyHue FLASK",
"name": "diyHue beta-branch",
"version": "1.4.1",
"slug": "diyhue-beta-flask",
"description": "Philips Hue Bridge Emulator FLASK",
"slug": "diyhue-beta-branch",
"description": "Philips Hue Bridge Emulator BETA",
"webui": "http://[HOST]:[PORT:80]",
"panel_icon": "mdi:home-lightbulb",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
Expand All @@ -26,7 +26,6 @@
"map": ["config:rw", "share:rw"],
"options": {
"config_path": "/config/diyhue",
"mac": "XX:XX:XX:XX:XX",
"debug": false,
"deconz_ip": "",
"no_serve_https": false
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.

0 comments on commit 8af6ced

Please sign in to comment.