From 3ad94ed11cec40708b39121568dbfba5cf32d347 Mon Sep 17 00:00:00 2001 From: grant-kun Date: Tue, 11 Oct 2022 11:10:19 -0500 Subject: readme --- readme.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 5319a97..aeebd7b 100644 --- a/readme.md +++ b/readme.md @@ -4,10 +4,38 @@ because the internet needs rewriting security project to ~~learn client and server encryption~~ mail & advanced requests -create generic keys `openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./certs/selfsigned.key -out ./certs/selfsigned.crt` +## hosting + +### initial (needed) files + +create user.json (refer to ./json/user.example.json) + +create generic keys `openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./certs/selfsigned.key -out ./certs/selfsigned.crt`, or insert which ever ones to `./certs/selfsigned.key` and to `./certs/selfsigned.crt` respectively + +--- + +### running + +#### windows + +dependencies: + +-[ ] ts-node |`sudo npm i -g ts-node` run `npm i` & `npm start` +--- + +#### \*nix + +dependencies: + +-[ ] ts-node |`sudo npm i -g ts-node` + +run `npm i` & `sudo ts-node .` + +--- + kanna was here visit the [main git](https://git.disroot.org/grantsquires/kanna-site) or the [github](https://github.com/squiresgrant/kanna-site) -- cgit v1.2.3