aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.example.env6
-rw-r--r--README.md9
-rwxr-xr-xrun2
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
diff --git a/run b/run
index a60151c..c4dea37 100755
--- a/run
+++ b/run
@@ -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