Download the PHP package gzero/platform without Composer
On this page you can find all versions of the php package gzero/platform. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package platform
GZERO CMS PLATFORM

GZERO CMS PLATFORM it's a base to build custom application on GZERO CMS
The project uses Docker containers to package entire application with all of its dependencies into a standardized unit.
The project uses Ansible automation engine to deploy entire application.
Installation
Use composer to create new project:
Directories permissions
Set permissions to storage & bootstrap cache:
[optional]
If you have www-data group in your system you can consider adding you to it. This will allow you to write to files created by php due to umask 002 set in dev mode.
Generate application key
Environment Configuration.
Environment configuration is stored in .env file (copied from .env.example during create-project stage).
Setting the local domains
For proper communication with the API is required to modify the hosts file in your OS. In Ubuntu hosts file should looks like the following:
Install and run Docker Engine:
Docker Engine is supported on Linux, Cloud, Windows, and OS X. Installation instructions are available on Docker documentation page
Build Docker container for platform
After Installing Docker Engine you need to start docker containers, go to project directory and run:
- Start Docker containers
This will run all application containers (give some time to ssl certs to generate)
-
Create database schema and required data
-
You can also seed database with example data using this command
-
You may want to publish vendor assets as well
- Done
Stopping Docker
If you want to stop docker containers just run:
This will stop all running application containers
To remove stopped containers run:
Viewing docker logs
If you want to view logs from docker you can run:
Updating Docker container for platform
To check for changes in Docker containers for platform u can occasionally run
Testing
To run tests use:
Working on frontend
Install required npm modules:
To run webpack:
or
Testing on frontend
To run only ava tests:
or
To run only eslint:
or
Updating composer dependencies
You can run composer directly from docker:
Continuous Integration
We're providing some boilerplate configs for travis & gitlab-ci so that you can modify them to match your requirements.
Deployment
We're using Ansible as automation tool. We include some example playbooks.
Some example usages:
All versions of platform with dependencies
fideloper/proxy Version ~3.3
fzaninotto/faker Version ~1.4
gzero/admin Version ^3.0.0
gzero/cms Version ^3.0.0
laravel/horizon Version ^1.1
predis/predis Version ^1.1