mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-11 14:10:06 +01:00
Mirror of: https://github.com/Neetpone/ponepaste
config | ||
doc | ||
includes | ||
js | ||
public | ||
theme | ||
vendor | ||
.gitignore | ||
babel.config.json | ||
composer.json | ||
composer.lock | ||
LICENSE | ||
package.json | ||
phpcs.xml | ||
psalm.xml | ||
README.md | ||
rollup.config.js | ||
setup_mysql.sql | ||
yarn-error.log | ||
yarn.lock |
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!