aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 627aec4a0b198f0544f10f245d31ac26a4656520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File[Me]up / shady_file_upload

File upload service that just about works most of the time

## Folder Management
![Folder management](https://alexvitkov.github.io/img/folder.gif)

## Password-Protected permalinks
![Folder management](https://alexvitkov.github.io/img/share.gif)

## Industry grade text editor
![Folder management](https://alexvitkov.github.io/img/text.gif)



## Setup

- Make sure php/configuration.php is pointing to a sane database. 
- Execute INIT_DATABASE.sql on that database
- make sure the directory $storage_root exists and PHP has write access to it
- 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
```