ONGR 的演示程序

ONGR的示范应用。(Demo application of ONGR.)

  • 所有者: ongr-io/demo.ongr.io
  • 平台: Docker, Linux, Mac, Vagrant
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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:

  • Just to see it in action - please do a Very quick setup.
  • Get a hands-on experience from development side - please proceed with a Quick setup for development.

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

  • Step 1: Install Kitematic from Docker.
  • Step 2: Open Kitematic from Docker and search for the ongr/demo-presentation. When you found it, press CREATE.
  • Step 3: When this is finished, just click on the Web Preview link in the right side.

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:

  • PHP >=5.5
  • Elasticsearch
  • Linux/Unix based environment or OS X. Sorry, currently we do not support Microsoft Windows as a development environment, but this might change in the future. For now you could try it with a Very quick setup guide.

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

主要指标

概览
名称与所有者ongr-io/demo.ongr.io
主编程语言PHP
编程语言ApacheConf (语言数: 5)
平台Docker, Linux, Mac, Vagrant
许可证MIT License
所有者活动
创建于2014-10-30 10:30:15
推送于2016-11-03 13:00:35
最后一次提交2016-03-01 15:50:02
发布数4
最新版本名称v0.4.1 (发布于 )
第一版名称v0.1.0 (发布于 2014-10-30 14:32:43)
用户参与
星数29
关注者数24
派生数24
提交数282
已启用问题?
问题数66
打开的问题数3
拉请求数85
打开的拉请求数3
关闭的拉请求数26
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?