God what a great name. Probably.
Demo available at https://pste.pw
GitHub: https://github.com/FoxDev/Phaste
GitLab: https://gitlab.notoriousdev.com/foxdev/Paste
- Install Phalcon.
- Set up your webserver pretty much how you'd set any other Phalcon app up. See https://docs.phalconphp.com/en/latest/reference/nginx.html and https://docs.phalconphp.com/en/latest/reference/apache.html.
- Create a database and user to access said database.
- Run
mysql -u <user> -p <database> < schemas/paste.sql
, where<user>
is the user you just created to initialise the database, and<database>
is obviously the database name. - Copy config.ini.dist to config.ini and edit it as you see fit.
- Probably have fun assuming nothing went wrong.
It is recommended to use https://github.com/phalcon/vagrant for development to ease the process of setting up a development environment, and to ensure a consistent environment when debugging.
PstePy (Python, CLI)