Find a file
2024-07-18 05:24:35 -04:00
config feat: add configuration for allowed image hosts 2023-05-23 12:31:11 -04:00
doc fix broken nginx config and other stuff that I didn't commit 2 years ago 2023-03-28 12:00:22 -04:00
includes fix: exclude passworded pastes from discover and archive 2024-07-18 05:24:35 -04:00
js fix: remove some debug printfs 2023-12-18 00:08:33 -05:00
public fix: exclude passworded pastes from discover and archive 2024-07-18 05:24:35 -04:00
theme fix: bring back the HackerHorse badge! 2024-07-07 17:28:31 -04:00
vendor fix: make Pastedown better? 2023-05-29 11:13:32 -04:00
.gitignore Remove configs from Git (yes, I know they are still visible in the history.) 2022-03-12 13:59:44 -05:00
babel.config.json code 2021-08-25 02:08:30 -04:00
composer.json fix: make Pastedown great again (some code by Aftercase) 2023-05-13 23:28:23 -04:00
composer.lock fix: make Pastedown better? 2023-05-29 11:13:32 -04:00
LICENSE chore: add license 2023-07-05 03:49:29 -04:00
package.json fix: some admin pages implementation 2023-05-13 20:05:32 -04:00
phpcs.xml fix: some admin pages implementation 2023-05-13 20:05:32 -04:00
psalm.xml fix: some admin pages implementation 2023-05-13 20:05:32 -04:00
README.md Move some stuff around. 2022-07-30 17:55:17 -04:00
rollup.config.js fix(tags): client-sided tag limit is better; tag highlighting rules slightly better 2023-02-27 05:24:55 -05:00
setup_mysql.sql MySQL setup file (#15) 2023-04-08 01:53:55 +00:00
yarn-error.log code 2021-08-25 02:08:30 -04:00
yarn.lock fix(tags): client-sided tag limit is better; tag highlighting rules slightly better 2023-02-27 05:24:55 -05:00

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!