Skip to content

znframework/shared-edition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZN Framework Shared Edition

It is the version that blends the essence of the ZN Framework, offers a rational and comfortable use and includes a shared working directory.

Installation

You only need to run the following code for the installation.

composer create-project znframework/shared-edition

Directory Structure

The directory structure of this version is shown below, and the usage purpose of the directories is explained one by one.

  • app/
    • Console/
    • Exceptions/
    • Http/
      • Controllers/
      • Views/
    • Models/
  • bootstrap/
  • config/
  • database/
  • public/
  • reources/
    • butchery/
    • files/
    • lang/
    • templates/
    • uploads/
  • routes/
  • storage/

Configuration

For configuration, edit the .conf file as follows.

<VirtualHost *:80>

    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html/public

    <Directory /var/www/html/public>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Require all granted
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
    
</VirtualHost>