Point the notes at where the project is about to live
~/programming/menu-admin, since it is a project rather than a folder of the images it serves. The plan's mention of static-menu/Caddyfile stays: that is the images directory, which does not move.
This commit is contained in:
1 parent
2ef044aa45
commit
c412181159
1 file changed
+2
-2
+2
-2
@@ -39,7 +39,7 @@ password cannot be empty. It can also be set from a machine that has this repo
|
||||
checked out, with the prompt on that machine rather than the server:
|
||||
|
||||
```sh
|
||||
cd ~/programming/static-menu/menu-admin
|
||||
cd ~/programming/menu-admin
|
||||
read -r -s -p 'Admin password: ' PW; echo
|
||||
HASH=$(printf '%s' "$PW" | node -e "let s='';process.stdin.setEncoding('utf8');process.stdin.on('data',c=>s+=c).on('end',async()=>{const m=await import('./src/auth.ts');process.stdout.write(await m.hashPassword(s))})")
|
||||
SECRET=$(node -e "process.stdout.write(require('node:crypto').randomBytes(32).toString('base64url'))")
|
||||
@@ -154,7 +154,7 @@ password cannot be empty. It can also be set from a machine that has this repo
|
||||
checked out, with the prompt on that machine rather than the server:
|
||||
|
||||
```sh
|
||||
cd ~/programming/static-menu/menu-admin
|
||||
cd ~/programming/menu-admin
|
||||
read -r -s -p 'Admin password: ' PW; echo
|
||||
HASH=$(printf '%s' "$PW" | node -e "let s='';process.stdin.setEncoding('utf8');process.stdin.on('data',c=>s+=c).on('end',async()=>{const m=await import('./src/auth.ts');process.stdout.write(await m.hashPassword(s))})")
|
||||
SECRET=$(node -e "process.stdout.write(require('node:crypto').randomBytes(32).toString('base64url'))")
|
||||
|
||||
Reference in new issue
Block a user