From cb3949d974f30501281fd2546ef23c81ac0282b3 Mon Sep 17 00:00:00 2001 From: Alex Vitkov Date: Fri, 19 Mar 2021 22:40:38 +0200 Subject: bundler --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..1900d71 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# File[Me]up / shady_file_upload + +File upload service that just about works most of the time + + +## Setup + +- Make sure php/configuration.php is pointing to a sane database. +- Execute INIT_DATABASE.sql on that database +- Build the JavaScript + +## Building the JavaScript + +On Windows, just run `build.ps1'. + +Otherwise, +``` +npm install # you only need to run this once +npx tsc +npx esbuild --bundle temp/main.js --outfile=build/bundle.js +``` -- cgit v1.2.3