Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Palethorn/Yeah

Repository files navigation

Build Status

GENERAL INFO

Easiest way to install is to use composer. Add composer.json into your project root:


{
    "minimum-stability": "dev",
    "require": {
        "palethorn/yeah": "dev-master"
    }
}

Then:

composer update

You can also set up Yeah! DevTools and use it. Download from https://bitbucket.org/palethorn/yeah-devtools/src

After setting up your alias:

alias yeah="php /path/to/yeah/file/in/devtools/root"

you can then create folder and invoke

yeah create_app project_name

Instruct your HTTP server to point to web folder as webroot.

Lighttpd rewrite rules:

 url.rewrite-if-not-file = (
        "^/(.*)" => "/project_name.php/$1"
    )

Apache rewrite rules are similar. htaccess file example (NOT TESTED):

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ project_name.php [L]