mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-11 14:10:06 +01:00
12 lines
No EOL
615 B
Markdown
12 lines
No EOL
615 B
Markdown
punishedponepaste
|
|
=================
|
|
|
|
# Requirements
|
|
* An HTTP server that can perform URL rewriting and execute PHP 8 code (eg: nginx with php8-fpm,) and the following PHP extensions: pdo, openssl, gd, mbstring, redis.
|
|
* A MySQL-compatible server (eg: MariaDB 10.)
|
|
* A Redis server.
|
|
|
|
# Building the JS
|
|
When you change the JS, you need to rebuild it. `assets/bundle.js` is used in dev, `assets/bundle.min.js` is used in production.
|
|
|
|
You need Yarn (version 1, not version 2 - 2 may work, but I haven't tried it.) After that, whenever you change anything under `js/`, you need to run `yarn rollup --config`. Good luck! |