melisplatform / melis-platform-skeleton
Melis Platform Skeleton
Installs: 2 436
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 7
Forks: 1
Open Issues: 26
Type:project
Requires
- php: ^8.1|^8.3
- melisplatform/melis-asset-manager: ^5.3
- melisplatform/melis-composerdeploy: ^5.3
- melisplatform/melis-core: ^5.3
- melisplatform/melis-dbdeploy: ^5.3
- melisplatform/melis-installer: ^5.3
- melisplatform/melis-marketplace: ^5.3
- dev-master
- v5.3.2
- v5.3.1
- v5.3.0
- v5.2.2
- v5.2.1
- v5.2.0
- v5.1.1
- v5.1.0
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- v4.1.5
- v4.1.4
- v4.1.3
- v4.1.2
- v4.1.1
- v4.1.0
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.2.20
- v3.2.19
- v3.2.18
- v3.2.17
- v3.2.16
- v3.2.15
- v3.2.14
- v3.2.13
- v3.2.12
- v3.2.11
- v3.2.10
- v3.2.9
- v3.2.8
- v3.2.7
- v3.2.6
- v3.2.5
- v3.2.4
- v3.2.3
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.32
- v3.1.31
- v3.1.30
- v3.1.29
- v3.1.28
- dev-evo/bundle
- dev-develop
- dev-evo/platform-cache
- dev-update/php83
- dev-update/utf8mb4
- dev-dependabot/npm_and_yarn/minimist-1.2.8
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/qs-and-express-6.11.0
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-and-webpack-cli-1.4.2
- dev-dependabot/composer/melisplatform/melis-asset-manager-5.0.1
- dev-update/php-8-upgrade
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-dependabot/npm_and_yarn/async-2.6.4
- dev-update/composerv2-compatibility
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/tar-4.4.19
- dev-dependabot/npm_and_yarn/color-string-1.9.0
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/ws-6.2.2
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/browserslist-4.16.6
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/y18n-4.0.1
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/ini-1.3.8
- dev-dependabot/npm_and_yarn/http-proxy-1.18.1
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
- dev-migrate/laminas
- dev-zend-old-version
- dev-ffesch-patch-1
This package is auto-updated.
Last update: 2024-11-25 05:13:36 UTC
README
The skeleton of Melis Platform.
This is the package you need to use to start a setup of Melis Platform.
Requirements
- PHP 7.0+
- PHP openssl extension
- PHP json extension
- PHP pdo_mysql extension
- PHP zip extension
Installation Options
Standard Installation with Composer
-
Download Composer
-
Install the skeleton with submodules using one of these methods:
# Method 1: Using create-project with --keep-vcs flag to preserve Git information composer create-project melisplatform/melis-platform-skeleton . # After create-project, initialize and update submodules git submodule init git submodule update
OR
# Method 2: Clone with submodules directly git clone --recursive https://github.com/melisplatform/melis-platform-skeleton composer install
-
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
Docker Installation
To run Melis Platform using Docker:
- Clone the repository with submodules:
# Clone with submodules in one command git clone --recursive https://github.com/melisplatform/melis-platform-skeleton # Or, if already cloned, initialize and update submodules git submodule init git submodule update
- Follow the setup instructions in the melis-docker submodule documentation.
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>
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
- Melis Technology - www.melistechnology.com
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