Skip to content

zitkino/zitkino

Repository files navigation

Zitkino

Packagist

Here is the code for the web https://www.zitkino.cz.

Installation

  • 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
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

JavaScripts a Sass (CSS) styles

They are compiled via Gulp commands:

  • gulp - for compiling and watching changed
  • gulp setup - for compiling only

Tests

To test the project, a script is prepared that can be run in Docker terminal via:

make tests

Used for backend testing. Can be run in Docker terminal via:

composer run tester

It 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