Update README.md and keep dirs

This commit is contained in:
tgpethan 2019-11-24 15:34:32 +00:00
parent 350864f51f
commit ab4c4f12ab
5 changed files with 12 additions and 1 deletions

0
EUS/.gitkeep Executable file
View File

0
EUS/files/.gitkeep Executable file
View File

0
EUS/i/.gitkeep Executable file
View File

View File

@ -6,4 +6,4 @@
<h1 align="center">
Setup
</h1>
<p>EUS has extra dependancies other than <a href="https://github.com/tgpethan/Revolution">Revolution</a>'s base, of which include:<br><a href="https://www.npmjs.com/package/connect-busboy">connect-busboy</a><br><a href="https://www.npmjs.com/package/randomstring">randomstring</a><br>Install the dependancies and then simply drop the EUS.js into a Revolution instance's modules folder<br><b>(If you still have "example_request_handler.js" be sure to delete it!)</b><br>If this is running at a URL then you can define the exported URL at <b>Line 14</b> (exportURI)<br>If you want to expand the files that the server allows to be saved to it you can do that at <b>Line 15</b> (acceptedTypes)<br><b>Note:</b> This is soon to be included in a config json so code editing will no longer be needed</p>
<p>EUS has extra dependancies other than <a href="https://github.com/tgpethan/Revolution">Revolution</a>'s base, of which include:<br><a href="https://www.npmjs.com/package/connect-busboy">connect-busboy</a><br><a href="https://www.npmjs.com/package/randomstring">randomstring</a><br>Install the dependancies and then simply drop the EUS.js into a Revolution instance's modules folder<br><b>(If you still have "example_request_handler.js" be sure to delete it!)</b><br>If this is running at a URL then you can define the exported URL at <b>Line 14</b> (exportURI)<br>If you want to expand the files that the server allows to be saved to it you can do that at <b>Line 15</b> (acceptedTypes)<br><b>Note:</b> This is soon to be included in a config json so code editing will no longer be needed<br>If you just want a quick setup use the "quick-setup.sh" file in this repo</p>

11
quick-setup.sh Executable file
View File

@ -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