interitty/pacc-playground
最新稳定版本:v1.0.9
Composer 安装命令:
composer create-project interitty/pacc-playground
包简介
For better understanding of the PHP implementation of YACC.
README 文档
README
For better understanding of the PHP implementation of YACC based on interitty/pacc.
Local run
The best way to local run interitty/pacc-playground is using Docker:
docker run --rm --name pacc-playground -p 80:8080 registry.gitlab.com/interitty/pacc-playground
Sometimes it can be useful to be able to build this docker container locally. The following command is useful for this:
docker build --build-arg ENVIRONMENT=production --tag registry.gitlab.com/interitty/pacc-playground:latest .
There is a possibility to specify some building arguments, you can need to fit your suit.
| Building argument | Description |
|---|---|
ENVIRONMENT="…" | Value for interitty/application environment-controlled configuration. The development value enable Tracy. Default value is production. |
Requirements
- PHP >= 8.5
Installation
The best way to install interitty/pacc-playground is using Composer:
The CSS and JS assets are built using the gulp tool. The following commands will help to enable local development mode:
npm install
gulp dev
The environment listens at http://pacc.local:3000 through the browsersync tool, which, among other things, immediately reflects changes in SASS and JS files.
To make everything work properly locally, you need to add the following lines to the /etc/hosts file.
127.0.0.1 pacc.local
::1 pacc.local
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-23