Here is the code for the web https://www.zitkino.cz.
- download and install project via Composer:
composer create-project zitkino/zitkino:dev-master- build Docker container with dependencies of project with command in terminal:
bash bin/docker.sh start- setup your database connection in file
app/config/env/development.neon - run Docker terminal:
bash bin/docker.sh ssh- install dependencies:
make install- create tables in your database in Docker terminal with
make database.update- project will be available on
http://localhost
They are compiled via Gulp commands:
gulp- for compiling and watching changedgulp setup- for compiling only
To test the project, a script is prepared that can be run in Docker terminal via:
make testsUsed for backend testing. Can be run in Docker terminal via:
composer run testerIt analyzes the code and looks for errors in it. It is configured in phpstan.neon. Can be run in Docker terminal via:
composer run phpstan