Last active
January 7, 2018 23:40
-
-
Save ilukac/9d4975fbca12964db87b to your computer and use it in GitHub Desktop.
Booting eZ Platform with Netgen Vagrant Ansible Box
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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