Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Marley committed Aug 28, 2024
2 parents f09849e + 658d65b commit 19086d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ sudo usermod -aG docker $USER
newgrp docker

### Use this to build and run (run in forground)
docker build -t accesscontrol . && docker run --device /dev/gpiochip4:/dev/gpiochip4 --device /dev/input/by-path/keypad1:/dev/input/by-path/keypad1 --device /dev/input/by-path/keypad2:/dev/input/by-path/keypad2 accesscontrol
docker build -t accesscontrol . && docker run --device /dev/gpiochip4:/dev/gpiochip4 --device /dev/input/by-path/keypad1:/dev/input/by-path/keypad1 --device /dev/input/by-path/keypad2:/dev/input/by-path/keypad2 -v ~/AccessControl/database.sqlite3:/database.sqlite3 accesscontrol

### Use to run prebuilt in background
docker run -d --device /dev/gpiochip4:/dev/gpiochip4 --device /dev/input/by-path/keypad1:/dev/input/by-path/keypad1 --device /dev/input/by-path/keypad2:/dev/input/by-path/keypad2 --restart always --name AccessControl accesscontrol
docker run -d --device /dev/gpiochip4:/dev/gpiochip4 --device /dev/input/by-path/keypad1:/dev/input/by-path/keypad1 --device /dev/input/by-path/keypad2:/dev/input/by-path/keypad2 -v ~/AccessControl/database.sqlite3:/database.sqlite3 --restart always --name AccessControl accesscontrol

## Install Steps
curl https://pyenv.run | bash
Expand Down

0 comments on commit 19086d6

Please sign in to comment.