wikimedia/excimer-ui-server
最新稳定版本:v0.1.1
Composer 安装命令:
composer require wikimedia/excimer-ui-server
包简介
Excimer UI server
README 文档
README
Getting started
-
Download. Require wikimedia/excimer-ui-server from Packagist.org, or run
composer install --prefer-stable --no-devin this directory to fetch the dependencies. -
Create database schema. We recommended creating a dedicated mysql user and database. Refer to tables.sql for the schema.
-
Expose
public_html/from a web server. Either as the document root for an entire domain, or from a subdirectory.
Configuration options
Prety URLs
When using choosing a subdirectory, we recommend using an Alias
in your Apache httpd configuration. This produces URLs like
https://perf.example/excimer/speedscope/
<VirtualHost *:80>
Alias /excimer /var/www/excimer-ui-server/public_html/index.php
</VirtualHost>
Alternatively, if you use the document root, or if you don't have
root access to Apache httpd config (i.e. only .htaccess), then
you can use a RewriteRule:
RewriteEngine On
RewriteRule ^/excimer/(.*)$ /excimer/index.php
Load config from /etc/
If you install Excimer UI from Git, you can place the configuration
file at config/config.json, which is automatically discovered.
To read it from a custom location, set the EXCIMER_CONFIG_PATH
environment variable. Example for Apache:
SetEnv EXCIMER_CONFIG_PATH=/etc/excimer-ui-server/config.json
Local development
This requires PHP 7.4+ and a MariaDB (or MySQL) server on localhost.
- Create database and user:
mysql < install_dev.sql - Create table from schema:
mysql -D excimer < tables.sql - Run
composer serve
You can now access http://localhost:4000/index.php/speedscope/.
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2023-04-22