interitty / pacc-playground
For better understanding of the PHP implementation of YACC.
Requires
- php: ~8.3
- contributte/translation: ~2.0
- dg/composer-cleaner: ~2.2
- interitty/application: ~1.0
- interitty/assets-manager: ~1.0
- interitty/di: ~1.0
- interitty/pacc: ~1.0
- latte/latte: ~3.0
- mikey179/vfsstream: ~1.6
- nette/forms: ~3.2
- tracy/tracy: ~2.10
Requires (Dev)
- interitty/code-checker: ~1.0
- interitty/phpunit: ~1.0
This package is auto-updated.
Last update: 2024-12-01 00:07:59 UTC
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.3
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