acquia/acquia-search-proxy
最新稳定版本:0.1.1
Composer 安装命令:
composer create-project acquia/acquia-search-proxy
包简介
A web service proxy for the Acquia Search service
README 文档
README
This project is a web service proxy to the Acquia Search Service. It allows developers to expose a RESTful API to end users, build administrative interfaces for their Acquia Search indexes, etc.
Installation
NOTE: This project requires PHP >= 5.3.3
- Run
php composer.phar installin the project's root directory- Refer to Composer's documentation for more details.
- Choose a configuration file directory (referred to as
CONF_DIRbelow)- The
./confdirectory in the project's root can be used
- The
- Run the command line tool to authenticate the indexes you want to use
./bin/acquia-search-proxy indexes:auth CONF_DIR/indexes.json
- Copy
./conf/conf.yml.disttoCONF_DIR/conf.ymland modify accordingly- Set
acquia.search.proxy.auth_filetoCONF_DIR/indexes.json
- Set
- Copy
docroot/index.php.exampletodocroot/index.phpand modify accordingly
For development, run php -S localhost:3000 -t docroot/ to start the service,
and visit http://localhost:3000 to consume it.
Acquia Search Proxy is build with the Silex micro framework, so the documentation applies here.
Refer to the Acquia SDK for PHP and PSolr projects for code examples.
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-11-25