diff options
author | grant-kun <[email protected]> | 2022-10-11 11:10:19 -0500 |
---|---|---|
committer | grant-kun <[email protected]> | 2022-10-11 11:10:19 -0500 |
commit | 3ad94ed11cec40708b39121568dbfba5cf32d347 (patch) | |
tree | 69439ff1919bbeba365e3c60924083eea2c6883a | |
parent | d2782bae0a4e70cbdf9a84afd92ed7c28237b82a (diff) |
readme
-rw-r--r-- | readme.md | 30 |
1 files changed, 29 insertions, 1 deletions
@@ -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 .` + +--- + <sub>kanna was here</sub> visit the [main git](https://git.disroot.org/grantsquires/kanna-site) or the [github](https://github.com/squiresgrant/kanna-site) |