Skip to content

Commit

Permalink
Cleanup, and improve mobile experience
Browse files Browse the repository at this point in the history
  • Loading branch information
desertblade committed Jun 23, 2023
1 parent dec27a1 commit b861a6a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 40 deletions.
27 changes: 0 additions & 27 deletions .github/renovate.json5

This file was deleted.

2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ RUN apt-get update -y && \
apt-get install -y --no-install-recommends lxterminal nano wget openssh-client rsync ca-certificates xdg-utils htop tar xzip gzip bzip2 zip unzip && \
rm -rf /var/lib/apt/lists


RUN if [ "${TARGETARCH}" = "arm64" ]; then \
wget -q -O /tmp/oscar.deb https://www.apneaboard.com/OSCAR/oscar_1.4.0-RasPiOS-11_arm64.deb; \
else \
Expand All @@ -35,7 +34,6 @@ RUN apt-get update -y && \
rm /tmp/oscar.deb && \
rm -rf /var/lib/apt/lists


COPY --from=easy-novnc-build /bin/easy-novnc /usr/local/bin/
COPY menu.xml /etc/xdg/openbox/
COPY supervisord.conf /etc/
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# Raspberry Pi Docker Image for Open Source CPAP Analysis Reporter (OSCAR)

[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/desertblade/oscar-pi/latest?arch=arm64)](https://hub.docker.com/r/desertblade/oscar-pi/tags)
[![license](https://img.shields.io/github/license/desertblade/docker-oscar-pi)](https://github.com/desertblade/docker-oscar-pi/blob/main/LICENSE)
[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/desertblade/oscar-pi)](https://hub.docker.com/r/desertblade/oscar-pi/tags)
[![license](https://img.shields.io/github/license/desertblade/docker-oscar-pi)](https://github.com/desertblade/oscar-pi/blob/main/LICENSE)
[![DockerHub pulls](https://img.shields.io/docker/pulls/desertblade/oscar-pi.svg)](https://hub.docker.com/r/desertblade/oscar-pi/)
[![DockerHub stars](https://img.shields.io/docker/stars/desertblade/oscar-pi.svg)](https://hub.docker.com/r/desertblade/oscar-pi/)
[![GitHub stars](https://img.shields.io/github/stars/desertblade/docker-oscar-pi.svg)](https://github.com/desertblade/oscar-pi)
[![Contributors](https://img.shields.io/github/contributors/desertblade/docker-oscar-pi.svg)](https://github.com/desertblade/oscar-pi/graphs/contributors)
[![Docker Image CI](https://github.com/desertblade/docker-oscar-pi/actions/workflows/docker-image.yml/badge.svg)](https://github.com/desertblade/docker-oscar-pi/actions/workflows/docker-image.yml)
[![GitHub stars](https://img.shields.io/github/stars/desertblade/docker-oscar-pi.svg)](https://github.com/desertblade/docker-oscar-pi)
[![Contributors](https://img.shields.io/github/contributors/desertblade/docker-oscar-pi.svg)](https://github.com/desertblade/docker-oscar-pi/graphs/contributors)[![Docker Image CI](https://github.com/desertblade/docker-oscar-pi/actions/workflows/docker-image.yml/badge.svg)](https://github.com/desertblade/docker-oscar-pi/actions/workflows/docker-image.yml)

A Raspberry Pi Docker image for **[OSCAR](https://www.sleepfiles.com/OSCAR/)** to run inside Docker container and access it remotely using web browser. Includes script to pull data from an ezShare wifi card, so no need to pull the SD Card out of the CPAP machine!

Expand Down
3 changes: 0 additions & 3 deletions cronEzshare

This file was deleted.

4 changes: 2 additions & 2 deletions ezShareDownloader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fileList=".log|.crc|.tgt|.dat|.edf|DATALOG|SETTINGS"

########### Don't touch the rest ########### ########### ########### ########### ########### ########### ###########

# Removing STR.edf file, its recreated nightly and sometimes the extension is wrong
# Removing STR.edf file, sometimes the extension is ALL CAPS and won't import into OSCAR
rm ${mainDir}STR.edf 2>/dev/null

########### some variables ###########
Expand Down Expand Up @@ -237,5 +237,5 @@ else
echo "Completed in $SECONDS seconds"
fi

# Sometimes the extension is all caps for this file and Oscar does not like that
# Sometimes the extension is ALL CAPS for this file and Oscar does not like that
mv ${mainDir}STR.EDF ${mainDir}STR.edf 2>/dev/null
2 changes: 1 addition & 1 deletion supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ redirect_stderr=true

[program:easy-novnc]
priority=0
command=/usr/local/bin/easy-novnc --addr :8080 --host localhost --port 5900 --no-url-password --novnc-params "resize=remote"
command=/usr/local/bin/easy-novnc --addr :8080 --host localhost --port 5900 --no-url-password
autorestart=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
Expand Down

0 comments on commit b861a6a

Please sign in to comment.