PHP Classes
elePHPant
Icontem

Melis PHP CMS Skeleton: Setup the Melis CMS application on a given domain

Recommend this page to a friend!
  Info   View files Documentation   View files View files (36)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-12-13 (2 days ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
melis-cms-skeleton 1.0Custom (specified...5PHP 5, Systems administration, Conten...
Description Author

This package can be used to setup the Melis CMS application on a given domain.

It can be used to setup a given domain to run the Melis content management system.

The package provides an installer Web interface that can be run by accessing the domain Web site.

Name: Fabrice Fesch <contact>
Classes: 1 package by
Country: France France

 

Details

Melis Platform Skeleton

The skeleton of Melis Platform. This is the package you need to use to start a setup of Melis Platform.

Requirements

  • PHP 5.5+
  • PHP openssl extension
  • PHP json extension
  • PHP pdo_mysql extension

HTTP server & vhost configuration

Setup a virtual host that points to the public/ directory of the project. Add the MELIS_PLATFORM (identifies your platform when having multiple environments like local/preprod/prod) and MELIS_MODULE (identifies which site will be loaded as the front office for this domain) variable. Vhost should look like this:

<VirtualHost *:80>
    DocumentRoot "PATH_DOCROOT/public"
    <Directory "PATH_DOCROOT/public">
        Options +Indexes +FollowSymLinks +ExecCGI
        DirectoryIndex index.php
        Order allow,deny
        Allow from all
        AllowOverride All
        Require all granted
    </Directory>

    ServerName www.mysite.local:80
    SetEnv MELIS_PLATFORM "development"
    SetEnv MELIS_MODULE "MelisDemoCms"

</VirtualHost>

If you are using Windows, you might want to add the following lines in your vhost to ensure that downloads of modules through composer can be managed by PHP. Be aware that running composer through PHP (setup, marketplace, updates) requires memory and space.

<VirtualHost *:80>
    [...]
    <IfModule fcgid_module>
        FcgidIOTimeout 3600
        FcgidBusyTimeout 1800
        FcgidConnectTimeout 3600
        FcgidOutputBufferSize 65536
        FcgidMaxRequestsPerProcess 500
        FcgidMinProcessesPerClass 0
        FcgidProcessLifeTime 3600 
    </IfModule>
    [...]
</VirtualHost>

Installation

  • Download Composer
  • Install the skeleton: composer create-project melisplatform/melis-cms-skeleton .
  • Setup your HTTP server (as described in HTTP server config section
  • Add this entry to your hosts file if you're working locally: 127.0.0.1 www.mysite.local
  • Create a database, using utf8_general_ci encoding
  • Go to the following URL: http://www.mysite.local/ and do the setup
  • You can now connect at http://www.mysite.local/melis

Contributing

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Feel free to fork the project, create a feature branch, and send us a pull request!

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the OSL-3.0 License - see the LICENSE file for details

  Files folder image Files  
File Role Description
Files folder imagecache (1 file)
Files folder imageconfig (2 files, 1 directory)
Files folder imageinstall (2 files)
Files folder imagemodule (1 directory)
Files folder imagepublic (6 files, 3 directories)
Files folder imagetest (1 file, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file init_autoloader.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file mix-manifest.json Data Auxiliary data
Accessible without login Plain text file package-lock.json Data Auxiliary data
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  cache  
File Role Description
  Accessible without login Plain text file README Doc. Documentation

  Files folder image Files  /  config  
File Role Description
Files folder imageautoload (1 file)
  Accessible without login Plain text file application.config.php Aux. Auxiliary script
  Accessible without login Plain text file melis.module.load.php Aux. Auxiliary script

  Files folder image Files  /  config  /  autoload  
File Role Description
  Accessible without login Plain text file global.php Aux. Auxiliary script

  Files folder image Files  /  install  
File Role Description
  Accessible without login Plain text file README.txt Doc. Documentation
  Accessible without login Plain text file vhost.txt Doc. Documentation

  Files folder image Files  /  module  
File Role Description
Files folder imageMelisModuleConfig (2 files, 2 directories)

  Files folder image Files  /  module  /  MelisModuleConfig  
File Role Description
Files folder imageconfig (4 files)
Files folder imagelanguages (1 file)
  Plain text file Module.php Class Class source
  Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  module  /  MelisModuleConfig  /  config  
File Role Description
  Accessible without login Plain text file app.forms.php Aux. Auxiliary script
  Accessible without login Plain text file app.interface.php Aux. Auxiliary script
  Accessible without login Plain text file module.config.php Aux. Auxiliary script
  Accessible without login Plain text file translation.list.php Aux. Auxiliary script

  Files folder image Files  /  module  /  MelisModuleConfig  /  languages  
File Role Description
  Accessible without login Plain text file README Doc. Documentation

  Files folder image Files  /  public  
File Role Description
Files folder imageassets (1 directory)
Files folder imageimg (1 file)
Files folder imagemedia (1 file)
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Accessible without login Image file favicon.ico Data Auxiliary data
  Accessible without login Plain text file index.php Example Example script
  Accessible without login Plain text file warning-handler.php Aux. Auxiliary script
  Accessible without login Plain text file webpack.mix.js Data Auxiliary data
  Accessible without login Plain text file webpack.mix.static.js Data Auxiliary data

  Files folder image Files  /  public  /  assets  
File Role Description
Files folder imagecss (1 file)

  Files folder image Files  /  public  /  assets  /  css  
File Role Description
  Accessible without login Plain text file schemes.css Data Auxiliary data

  Files folder image Files  /  public  /  img  
File Role Description
  Accessible without login Image file MelisTech.png Icon Icon image

  Files folder image Files  /  public  /  media  
File Role Description
  Accessible without login Image file MelisTech.png Icon Icon image

  Files folder image Files  /  test  
File Role Description
Files folder imagetpl (5 files)
  Accessible without login Plain text file test.application.config.php Aux. Auxiliary script

  Files folder image Files  /  test  /  tpl  
File Role Description
  Accessible without login Plain text file BootstrapTemplate Example Example script
  Accessible without login Plain text file methodTemplate Data Auxiliary data
  Plain text file PHPUnitControllTest Class Class source
  Accessible without login Plain text file phpunitxmlTemplate Data Auxiliary data
  Accessible without login Plain text file READ_ME.txt Doc. Documentation

 Version Control Unique User Downloads  
 100%
Total:0
This week:0