Demo app of the ONGR bundles

Demo app will show you how the ONGR bundles could be used in particular project. Depending on what you want:

WARNING: Please keep in mind, that the master branch is for development. And if you want to try a stable version - we recommend you to use a latest tagged version.

If you will need any help or have any questions, don't hesitate to ask on Join the chat at https://gitter.im/ongr-io/support chat, or just come to say Hi ;).

Very quick setup

Quick setup for the development

This example is based on Symfony framework project by using ONGR bundles. So if you want to use ONGR bundles we assume that you know how to work with Symfony framework.

To run this demo you gonna need:

If you already have your own development environment, you can go straight to the Step 4 to install assets and demo data.

In case you don't have an environment, we have a Vagrant box configuration in the testing-vm repository.

Step 1

Clone testing-vm repository to some folder, we call it ongr.

git clone https://github.com/ongr-io/testing-vm.git ongr

Step 2

Provision your new box. At the first time it might take about 5-15 min (depending on your internet connection).

cd ongr
vagrant up

Step 3

Clone ONGR Demo to public folder inside previously created ongr folder.

git clone https://github.com/ongr-io/Demo.git public

vagrant ssh

WARNING: Do not change public folder name, it's hardcoded vhost location in the testing-vm

Step 4

Run project setup. There are bunch of commands to install vendors, assets and the demo data.

composer install --no-interaction
npm install
bower install
gulp
bin/console ongr:es:index:create
bin/console ongr:es:index:import app/Resources/data/demo.json

Step 5

Navigate your browser to the http://ongr.dev

NOTE: Please make sure that your host definition in the /etc/hosts is correct. ongr.dev is our host example from testing-vm