A one-click publishing tool combined with a minimal editor.
- Download as zip from GitHub's clone or download option.
- Unzip to your
www
orhtdocs
folder according to your configuration. - Run the query inside
sql.sql
to create a table namedstories
. - Edit
config.php
and fill your SQL details and you're ready to go!
On a common cPanel based hosting service, you need to create a MySQL database. (An option will be there for this in a section labeled as databases.) After creating the database, you'll get your credentials which you have to put in the config.php
file. Then you need to go to sql tab after searching for your created database in phpMyAdmin.
- for code:
- Tim Holman (@tholman) for ZenPen used under MIT License, (C) 2017.
- Benjamin (@RazrSaw) for What a Story used without any license.
- for inspiration: telegra.ph
The code would have much better and optimised, if I had used node.js and non-SQL databases instead of PHP and SQL. Also, I admit that quill.js is a much better and powerfull alternative to ZenPen. But some industrials constraints compelled me to write this code in the way you are seeing it.