/storyzen

A minimalist write-then-publish zone, where you can block out all distractions and get to what's important.

Primary LanguageJavaScriptMIT LicenseMIT

StoryZen

A one-click publishing tool combined with a minimal editor.

How to Deploy

  1. Download as zip from GitHub's clone or download option.
  2. Unzip to your www or htdocs folder according to your configuration.
  3. Run the query inside sql.sql to create a table named stories.
  4. Edit config.php and fill your SQL details and you're ready to go!

For very beginners

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.

Credits

  • for code:
    1. Tim Holman (@tholman) for ZenPen used under MIT License, (C) 2017.
    2. Benjamin (@RazrSaw) for What a Story used without any license.
  • for inspiration: telegra.ph

Clarification

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.