Skip to content

Commit fe38e91

Browse files
Merge pull request #775 from webkom/update-vote-deployment-docs
updated command used in deployment README to be correct updated how to linux in README to be correct
2 parents c3c2425 + 41bcc0b commit fe38e91

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ $ sudo google-chrome
106106
2. Add your user to the `dialout` group.
107107
- Check what group the tty(USBPORT) is:
108108
```
109-
$ ls -al /dev/ttyUSB* | cut -d ' ' -f 2`
109+
$ ls -al /dev/ttyUSB* | cut -d ' ' -f 2
110110
```
111111
- Check what groups your user is added to:
112112
```sh
113113
$ groups
114114
```
115115
- Normally the `tty` is in the `dialout` group, so add your user to that group with:
116116
```sh
117-
$ sudo usrmod -a -G dialout $USER
117+
$ sudo usermod -a -G dialout $USER
118118
```
119119

120120
> You need to sign in and out to get the new privileges!

deployment/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The vote-CLI allows you to create **admin**, **moderator** and **normal** users.
2727

2828
```bash
2929
# Replace <username> with the username, and <card-key> with a random value
30-
$ docker-compose exec vote ./bin/users create-user <username> <card-key>
30+
$ docker exec -i vote ./bin/users create-user <username> <card-key>
3131

3232
# You will then be promted to select the type of user you want to create
3333
Usermode:

0 commit comments

Comments
 (0)