Skip to content

tahonaPL/spark-mvc-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spark MVC example

How to install

  1. clone or download demo project
  2. then: composer install
  3. setup apache

apache

Enable rewrite mode:

a2enmod rewrite

Example of virtual host:

<VirtualHost *:80>
        ServerName example.com
        ServerAlias example.com
        DocumentRoot /var/www/project/

        <Directory "/var/www/project/">
                Options Indexes FollowSymLinks Includes ExecCGI
                AllowOverride All
                Order allow,deny
                Allow from all
                Require all granted
        </Directory>

</VirtualHost>

Development mode

From file example/ExampleConfig.php remove two lines (or remove @).

 * @EnableApcuBeanCache(resetParam="reset")
 * @SmartyViewConfiguration(caching=true, forceCompile=false, compileCheck=false, cacheLifetime=3600)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published