This warehouse management platform is designed for hospitals and their management departments.
live demo: https://havas.mehdiabdi.com
replace <ACCESS_TOKEN> with access token of docker hub
docker login -u abdimehdi -p <ACCESS_TOKEN> && \
chmod +x ./scripts/start.sh && \
chmod +x ./scripts/rs-init.sh && \
sudo systemctl restart docker.service && \
./scripts/start.sh
replace <ACCESS_TOKEN> with access token of docker hub
docker login -p <ACCESS_TOKEN>docker compose --file docker-compose-local.yml updocker compose exec mongo1 mongoshrs.initiate( { _id : "dbrs", members: [ { _id: 0, host: "mongo1:27017" }, { _id: 1, host: "mongo2:27017" }, { _id: 2, host: "mongo3:27017" } ] })output: { ok: 1 }
docker container restart havas-initializationrun this frequently to update your local image
docker pull abdimehdi/havas:latest
docker exec mongo1 sh -c 'exec mongodump -d havas --archive'> ./db-backup.archivemongoresotre --archive=./db-backup.archivedocker logs nextjs > ./logs/logs.logdocker build -f Dockerfile_init -t havas-initialization-db .docker build -f Dockerfile_RFID -t havas-rfid-python .docker save mongo:5.0.9 \
abdimehdi/havas:latest \
emqx/emqx:latest \
havas-initialization-db:latest \
havas-rfid-python:latest \
python:3.10.6 \
node:16-alpine \
-o havas.tardocker load -i havas.tar