From 497a8ef0e33296711725fc0d0c1526bc43268427 Mon Sep 17 00:00:00 2001 From: Daniel Szabo Date: Sat, 4 Jun 2022 22:51:09 +0100 Subject: [PATCH 1/4] Add render.yaml --- render.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 render.yaml diff --git a/render.yaml b/render.yaml new file mode 100644 index 0000000..a8adbb0 --- /dev/null +++ b/render.yaml @@ -0,0 +1,7 @@ +services: + - type: web + name: microbin + env: rust + repo: https://github.com/szabodanika/microbin.git + buildCommand: cargo build --release + startCommand: ./target/release/microbin -- --highlightsyntax --editable \ No newline at end of file From 291438e7710ff95fbb5d70177987242b373bb10b Mon Sep 17 00:00:00 2001 From: Daniel Szabo Date: Sat, 4 Jun 2022 22:55:16 +0100 Subject: [PATCH 2/4] Update render.yaml --- render.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/render.yaml b/render.yaml index a8adbb0..d2b294d 100644 --- a/render.yaml +++ b/render.yaml @@ -1,6 +1,8 @@ services: - type: web name: microbin + plan: free + numInstances: 1 env: rust repo: https://github.com/szabodanika/microbin.git buildCommand: cargo build --release From 8b1702365cb9b49065e3435254c1e6541b53d578 Mon Sep 17 00:00:00 2001 From: Daniel Szabo Date: Sat, 4 Jun 2022 23:05:47 +0100 Subject: [PATCH 3/4] Add "Deploy to Render" button to README.MD --- README.MD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.MD b/README.MD index 2df97b9..b8a6149 100644 --- a/README.MD +++ b/README.MD @@ -1,9 +1,13 @@ -# MicroBin ![Screenshot](git/index.png) +# MicroBin + MicroBin is a super tiny, feature rich, configurable, self-contained and self-hosted paste bin web application. It is very easy to set up and use, and will only require a few megabytes of memory and disk storage. It takes only a couple minutes to set it up, why not give it a try now? +[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/szabodanika/microbin) + + ### Features - Is very small - Animal names instead of random numbers for pasta identifiers (64 animals) From 92a29a02e5c33ff74f52b04d54e9f89c852f847d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Szab=C3=B3?= <25702868+szabodanika@users.noreply.github.com> Date: Sat, 4 Jun 2022 23:30:39 +0100 Subject: [PATCH 4/4] Update render.yaml --- render.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render.yaml b/render.yaml index d2b294d..3c3e430 100644 --- a/render.yaml +++ b/render.yaml @@ -6,4 +6,4 @@ services: env: rust repo: https://github.com/szabodanika/microbin.git buildCommand: cargo build --release - startCommand: ./target/release/microbin -- --highlightsyntax --editable \ No newline at end of file + startCommand: ./target/release/microbin --editable --highlightsyntax