Documentation

1.1 Installation

Requirements

Integrated requires:

  • PHP 7.1 or higher (including JSON, ctype and intl)
  • MySQL or MariaDB database 5.0 or higher
  • MongoDB database 3.0 or higher
  • Solr 6.0 or higher
  • Nodejs modules: less, bower

For development, a configured Vagrantfile is provided, so Vagrant and Virtualbox are required.

How to install

Install Composer and run the following command:

1
php composer.phar create-project integrated/integrated-standard path/ "~0.8" --ignore-platform-reqs

During the installation you need to enter the database details. If you are using the default development environment with Vagrant, you can use the default values. You may get some errors because you didn't run Vagrant yet. Otherwise you have to take care of these details yourself.

Start using the application

In the default development environment you can start your Vagrant. You need the to install the winnfsd and vbguest plugins first if you are using Windows. Customize the box name in puphpet/config-custom.yaml if you have multiple Integrated installations on your machine. Now start Vagrant with "vagrant up" in the terminal. 

Start an SSH session (in PHPStorm with Tools - Start SSH session - Vagrant) and go to the right folder (cd /vagrant). If you are in the default development environment you have to run "composer update" to make sure database tables are created.

After that you can create a first user:

1
php bin/console user:create username password Integrated ROLE_ADMIN

Integrated is now available on the URL /admin/content (http://localhost:8080/admin/content). 

You can login as the user you just created.

Adding test data

Before you can add content, you first have to define the content types. You can do this manually by going to Manage - Content types and add some content types. All content types are based on a document type.

An easier way is to load the fixtures is:

1
2
php bin/console doctrine:mongodb:fixtures:load
php bin/console solr:indexer:run -f -e prod