This is a development repository for webserver as central data and IoT system for our e-Health management system.
ifconfig
To deploy in Linux/Unix servers, a docker container system need to be installed. For example in Arch-Linux
sudo pacman -S docker docker-compose
then try to run using minimum setting:
sudo groupadd -f docker
sudo gpasswd -a $USER docker
# temporarily reload group
newgrp docker
sudo systemctl enable docker.service
sudo systemctl start docker.service
sudo systemctl stop docker
mkdir -p /path/to/your/docker
sudo chown -R root:root /path/to/your/docker
sudo touch /etc/docker/daemon.json
echo '
{
"data-root": "/path/to/your/docker"
}' | sudo tee /etc/docker/daemon.json
sudo rsync -aP /var/lib/docker/ /path/to/your/docker
sudo systemctl start docker
First, clone this repository
git clone https://github.com/VibrasticLab/ehealth-web.git
then, build the image into container:
cd ehealth-web/
docker-compose up --build
if need to update:
docker-compose down
docker-compose up --build
and if need to run as background daemon:
docker-compose down
docker-compose up -d --build
log server
docker-compose logs -f
kill all docker:
sudo docker kill $(sudo docker ps -q)
To check log
sudo docker-compose logs -f
ls -l public/uploads/batuk_naracoba/*.wav
firefox http://localhost/admin/data-batuk-naracoba