From f2e52d1cc8198df3c00a585431929e5347eae788 Mon Sep 17 00:00:00 2001 From: gliggy Date: Fri, 26 Nov 2021 15:44:01 -0500 Subject: [PATCH] add more to server docs --- API.md | 3 ++- SERVER.md | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/API.md b/API.md index 542fa8c..a5b5051 100644 --- a/API.md +++ b/API.md @@ -1,4 +1,5 @@ How to use the makesweet api: +------- 1. get a computer 2. get curl @@ -6,8 +7,8 @@ How to use the makesweet api: 4. receive a response 5. do whatever you want with it. - examples (assuming MAKESWEET_API is set as env var): + ------- send only text (use &text for more text): diff --git a/SERVER.md b/SERVER.md index 408ae3b..bd35916 100644 --- a/SERVER.md +++ b/SERVER.md @@ -1,5 +1,10 @@ server docs + ``` sudo apt install wkhtmltopdf sudo apt install curl ``` +run with +``` +npx nodemon index.js +```