diff options
-rw-r--r-- | .example.env | 6 | ||||
-rw-r--r-- | README.md | 9 | ||||
-rwxr-xr-x | run | 2 |
3 files changed, 16 insertions, 1 deletions
diff --git a/.example.env b/.example.env new file mode 100644 index 0000000..8a29b86 --- /dev/null +++ b/.example.env @@ -0,0 +1,6 @@ +PORT=<PORT> # Optional + +DBUser=<Database username> +DBPassword=<Database user password> +DBName=<Databse name> +DBHost=<Database host>
\ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..008a53f --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# Kloud? Doubt! + +## Prerequisite +- [Deno](https://deno.land/) +- MySQL/MariaDB + +## Run +- Create .env file like [.example.env](/.example.env) in project root +- Execute [run](/run): `./run`
\ No newline at end of file @@ -1,3 +1,3 @@ #!/usr/bin/env sh -deno run -q --allow-net src/main.ts +deno run -q --allow-net --allow-env --allow-read src/main.ts |