Skip to content

Instantly share code, notes, and snippets.

@ilukac
Last active January 7, 2018 23:40
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilukac/9d4975fbca12964db87b to your computer and use it in GitHub Desktop.
Save ilukac/9d4975fbca12964db87b to your computer and use it in GitHub Desktop.
Booting eZ Platform with Netgen Vagrant Ansible Box
0. Requirements on local machine:
- Vagrant
- Ansible
- Virtualbox
- Git
1. Booting Vagrant box
$ git clone https://github.com/netgen/vagrant-ansible-ezpublish.git
$ cd vagrant-ansible-ezpublish
$ rm -rf .git/
$ vagrant up
2. Create the database
$ vagrant ssh
vagrant@vagrant-ubuntu-trusty-64:~$ mysql -uroot -e "create database ezplatform character set utf8"
3. Compose eZ PLatform project and move it to Vagrant project home
vagrant@vagrant-ubuntu-trusty-64:~$ cd /var/www/ezpublish
vagrant@vagrant-ubuntu-trusty-64:~/var/www/ezpublish composer create-project ezsystems/ezplatform
vagrant@vagrant-ubuntu-trusty-64:~/var/www/ezpublish mv ezplatform/* .
4. Instaling eZ Platform demo in prod envirovment
vagrant@vagrant-ubuntu-trusty-64:~/var/www/ezpublish php ezpublish/console ezplatform:install --env prod demo
vagrant@vagrant-ubuntu-trusty-64:~/var/www/ezpublish php ezpublish/console cache:clear --env prod
5. Links
- front side based on DemoBundle: http://172.21.12.10/
- eZ Platform UI (admin/publish): http://172.21.12.10/shell
6. Installation of Legacy if needed:
https://doc.ez.no/display/EZP/Installing+eZ+Publish+Legacy+on+top+of+eZ+Platform
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment