2017 © Pedro PelĂĄez
 

utility yaskef

A PHP,SQL,Javascript live interpreter based on the Silex-Kitchen-Edition.

image

electrolinux/yaskef

A PHP,SQL,Javascript live interpreter based on the Silex-Kitchen-Edition.

  • Monday, March 11, 2013
  • by electrolinux
  • Repository
  • 2 Watchers
  • 2 Stars
  • 3 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 162 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

yaskef - PHP, SQL, Javascript live interpreter

Based on a fork of the Silex-Kitchen-Edition, yaskef (Yet Another Silex-Kitchen-Edition Fork) is a developper utility to quickly test PHP, SQL and Javascript snippets, saving them in db for later use, sending them on pastebin.com, etc., (*1)

For more information, see the dedicated page., (*2)

Installation

  • with composer
php composer.phar create-project -s dev electrolinux/yaskef PATH/TO/YOUR/APP
  • with git
git clone https://github.com/electrolinux/yaskef PATH/TO/YOUR/APP
cd PATH/TO/YOUR/APP
curl -s http://getcomposer.org/installer | php
php composer.phar install

Quick Start Guide

Edit 'resources/config/prod.php' if you want a different db, then, (*3)

php console doctrine:database:create
php console doctrine:schema:load
php console user:create
php console snippet:load --force

If running on linux with sqlite3 db, ensure that the web user has write access both to the database file and his folder. For example :, (*4)

chgrp www-data resources/db resources/db/prod.db
chmod g+w resources/db resources/db/prod.db

Don't forget to do it again each time you re-create your database, (*5)

Configure your web server, pointing the DocumentRoot to PATH/TO/YOUR/APP/web, (*6)

For more informations about the Silex-Kitchen-Edition, see the dedicated page., (*7)

The Versions