aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: e48d19a45a7ecbfb95aec620b99f3bd043044ae6 (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
33
34
35
# Fileup

File upload service that just about works most of the time. Made by
- [Galin](https://volconst.com/) - Most of the backend, the SQL virtual filesystem
- [Alex](https://alexvitkov.github.io/) - Most of the frontend


## 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
```