Add src/nixos/redis-get-token.md

This commit is contained in:
NaiJi ✨ 2024-04-15 23:39:26 +03:00
parent 23e24814ba
commit c9345edf62
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# Get your device token from redis
1. Run `redis-cli -s /run/redis-sp-api/redis.sock`
2. In redis cli, now run `keys *`
3. Copy any token that appears in the output
4. In redis cli, now run `HGETALL token_repo:tokens:<the token you have just copied>`