From ac43fdeaeadcb8cd47c84af81128314c0cf1e462 Mon Sep 17 00:00:00 2001 From: Shaun Kruger Date: Sun, 25 Oct 2026 18:58:17 -0600 Subject: [PATCH] Update readme --- DEPLOYMENT.md => README.md | 0 README_SERVE.md | 18 +++++++++--------- 2 files changed, 9 insertions(+), 9 deletions(-) rename DEPLOYMENT.md => README.md (100%) diff --git a/DEPLOYMENT.md b/README.md similarity index 100% rename from DEPLOYMENT.md rename to README.md diff --git a/README_SERVE.md b/README_SERVE.md index eacc779..4be9b57 100644 --- a/README_SERVE.md +++ b/README_SERVE.md @@ -155,11 +155,11 @@ Generate a new API key for a user. **Syntax:** ```bash -ps-serve create-key +ps-serve create-key ``` **Arguments:** -- ``: The ID of the user (obtained from `create-user` output) +- ``: The username of the user (obtained from `create-user` output) **What it does:** - Generates a random 32-character API key @@ -169,8 +169,8 @@ ps-serve create-key **Example:** ```bash -$ ps-serve create-key 1 -API key created for user 1 +$ ps-serve create-key alice +API key created for user alice Key: 4YXDJoXf26auwGFQPKB6aB-kY6HxbkKPJzmWFbs7cnM Keep this key safe - you won't be able to see it again! ``` @@ -184,10 +184,10 @@ Keep this key safe - you won't be able to see it again! **Example Workflow:** ```bash # Create two keys for the same user (one for testing, one for production) -$ ps-serve create-key 1 +$ ps-serve create-key alice Key: test_key_abc123... -$ ps-serve create-key 1 +$ ps-serve create-key alice Key: prod_key_xyz789... ``` @@ -289,9 +289,9 @@ ps-serve create-user bob ### 3. Create API Keys ```bash -ps-serve create-key 1 # For alice +ps-serve create-key alice # For alice # Save this key somewhere secure -ps-serve create-key 2 # For bob +ps-serve create-key bob # For bob ``` ### 4. Start the Server @@ -509,7 +509,7 @@ After getting `ps-serve` running: For more detailed information: - **API Documentation**: Start the server and visit `http://localhost:8000/docs` -- **Deployment Guide**: See `DEPLOYMENT.md` +- **Deployment Guide**: See `README.md` - **Source Code**: Check `privatestudio/web/` for implementation details ---