diff options
author | Alex Vitkov <alexvitkov98@gmail.com> | 2021-03-19 22:40:38 +0200 |
---|---|---|
committer | Alex Vitkov <alexvitkov98@gmail.com> | 2021-03-19 22:40:38 +0200 |
commit | cb3949d974f30501281fd2546ef23c81ac0282b3 (patch) | |
tree | b463e63c16c9288af42d34cf86a0fd6ffeeeb5a5 /README.md | |
parent | dd6cf660b033251c5ab08fa0c3e32a44022a7039 (diff) | |
download | fileup-cb3949d974f30501281fd2546ef23c81ac0282b3.tar.gz |
bundler
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 21 |
1 files changed, 21 insertions, 0 deletions
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 +``` |