From e1db4aa67fe7842c33a6a85bc22a1536831c57c3 Mon Sep 17 00:00:00 2001 From: jdoe0 Date: Tue, 29 Oct 2013 16:48:02 -0500 Subject: [PATCH] Update README.md --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1d6fd07..931d63f 100644 --- a/README.md +++ b/README.md @@ -45,17 +45,15 @@ install some of the dependencies we need there: 6. Create user: - # Enter username and password when prompted. - $ read -p "Username: " USER && read -sp "Password: " PASS - $ SALT=$(openssl rand -hex 8) - $ HASH=$(echo -n "$USER$PASS$SALT" | sha256sum | sed 's/[ ]*-$//')$SALT - $ sqlite3 auth.db "INSERT INTO auth VALUES ('$USER', '$HASH')" - $ mkdir -p "collections/$USER" - $ unset USER PASS SALT HASH + $ ./ankisyncctl.py adduser 7. Then we can run ankisyncd like so: - $ ankisyncd.env/bin/python src/sync_app.py + $ ./ankisyncctl.py start + + To stop the server, run: + + $ ./ankisyncctl.py stop ### Via PKGBUILD