From ab4c4f12ab0f601bd8d163ea68ca440c0e60d306 Mon Sep 17 00:00:00 2001 From: tgpethan Date: Sun, 24 Nov 2019 15:34:32 +0000 Subject: [PATCH] Update README.md and keep dirs --- EUS/.gitkeep | 0 EUS/files/.gitkeep | 0 EUS/i/.gitkeep | 0 README.md | 2 +- quick-setup.sh | 11 +++++++++++ 5 files changed, 12 insertions(+), 1 deletion(-) create mode 100755 EUS/.gitkeep create mode 100755 EUS/files/.gitkeep create mode 100755 EUS/i/.gitkeep create mode 100755 quick-setup.sh diff --git a/EUS/.gitkeep b/EUS/.gitkeep new file mode 100755 index 0000000..e69de29 diff --git a/EUS/files/.gitkeep b/EUS/files/.gitkeep new file mode 100755 index 0000000..e69de29 diff --git a/EUS/i/.gitkeep b/EUS/i/.gitkeep new file mode 100755 index 0000000..e69de29 diff --git a/README.md b/README.md index bc0a8fd..70593f9 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,4 @@

Setup

-

EUS has extra dependancies other than Revolution's base, of which include:
connect-busboy
randomstring
Install the dependancies and then simply drop the EUS.js into a Revolution instance's modules folder
(If you still have "example_request_handler.js" be sure to delete it!)
If this is running at a URL then you can define the exported URL at Line 14 (exportURI)
If you want to expand the files that the server allows to be saved to it you can do that at Line 15 (acceptedTypes)
Note: This is soon to be included in a config json so code editing will no longer be needed

+

EUS has extra dependancies other than Revolution's base, of which include:
connect-busboy
randomstring
Install the dependancies and then simply drop the EUS.js into a Revolution instance's modules folder
(If you still have "example_request_handler.js" be sure to delete it!)
If this is running at a URL then you can define the exported URL at Line 14 (exportURI)
If you want to expand the files that the server allows to be saved to it you can do that at Line 15 (acceptedTypes)
Note: This is soon to be included in a config json so code editing will no longer be needed
If you just want a quick setup use the "quick-setup.sh" file in this repo

diff --git a/quick-setup.sh b/quick-setup.sh new file mode 100755 index 0000000..61b7314 --- /dev/null +++ b/quick-setup.sh @@ -0,0 +1,11 @@ +#!/bin/bash +git clone https://github.com/tgpethan/Revolution.git +cd Revolution +npm i +cd modules +wget https://raw.githubusercontent.com/tgpethan/EUS/master/EUS.js +cd .. +cd config +cp config.example.json config.json +cd .. +npm i connect-busboy randomstring