Download the PHP package gpupo/content-butler without Composer
On this page you can find all versions of the php package gpupo/content-butler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gpupo/content-butler
More information about gpupo/content-butler
Files in gpupo/content-butler
Package content-butler
Short Description Content server with PHPCR, Apache Jackrabbit (backend) and Nginx proxy (frontend)
License MIT
Homepage https://opensource.gpupo.com/content-butler/
Informations about the package content-butler
Content Butler
Content server with Apache Jackrabbit (backend) and Nginx proxy (frontend)
Requirements
- git
- Composer Dependency Manager
- [Docker][docker] (1.12+)
- [Docker-composer][docker-compose] (1.10+)
Features
- Content Repository with Apache Jackrabbit
- Webpage server with Image resize
Install
git clone [email protected]:gpupo/content-butler.git;
cd content-butler;
make setup;
Set passwords: default user is admin with admin password. You must edit htpasswd file with new values and that generator is a usefull tool.
Install dependencies
make install
Copy files to machines (optional)
docker cp config/empty.gif "$(docker-compose ps -q nginx)":/usr/share/nginx/html/empty.gif;
If previous repository exists (see backup):
docker cp var/opt/jackrabbit/repository "$(docker-compose ps -q content-server)":/opt/jackrabbit/;
docker cp var/opt/jackrabbit/workspaces "$(docker-compose ps -q content-server)":/opt/jackrabbit/;
docker cp var/opt/jackrabbit/version "$(docker-compose ps -q content-server)":/opt/jackrabbit/;
Up services
make start
Register node types
docker-compose run php bin/console doctrine:phpcr:register-system-node-types;
Alternative storage location
docker cp "$(docker-compose ps -q content-server)":/opt/jackrabbit var/jackrabbit;
add volume to docker file:
- $PWD/var/jackrabbit:/opt/jackrabbit
Backup
Export
Export repository with Filesystem Copy:
docker cp "$(docker-compose ps -q content-server)":/opt/jackrabbit var/opt/;
Clone (SVN style)
docker-compose run java bin/clone var/dest_directory;
Import
Example, load fixture:
docker-compose run php ./bin/console butler:import:directory Resources/fixture/ --splitter=Resources;
or
docker-compose run php bin/fixture
Load SVN style
docker-compose run php bin/console butler:import:directory var/clone;
Explore
Content Repository
- First, import fixtures;
- Check Jackrabbit dashboard
- Browse files and see some Sheeps
Nginx frontend
- Check if you keep seen sheeps
- Check if you can seen litle sheeps
- Browse default repository
Library usage
Install
composer require gpupo/content-butler
Add Documents
Versionable, Overshadow and Millenial Tree:
Links
See
All versions of content-butler with dependencies
gpupo/common-sdk Version ^6.3
jackalope/jackalope-jackrabbit Version ^1.4
doctrine/phpcr-odm Version 1.5.3 || dev-php-8-version-1