Docker installation

Tina4PHP comes with a Docker file configured will all the dependencies you need You will first need to install the Docker environment for your operating system before running the following commands

Whats in the docker

  • Composer support
  • All the extensions needed to run Tina4Php

Starting with Tina4Php

if you have docker installed already then this is the quickest way to see the magic


docker run -v $(pwd):/app tina4stack/php composer require tina4stack/tina4php
docker run -v $(pwd):/app tina4stack/php composer exec tina4 initialize:run
docker run -v $(pwd):/app -p7145:7145 tina4stack/php composer start  

On windows run the following


docker run -v %cd%:/app tina4stack/php composer require tina4stack/tina4php
docker run -v %cd%:/app tina4stack/php composer exec tina4 initialize:run
docker run -v %cd%:/app -p7145:7145 tina4stack/php composer start  

Upgrading


 docker run -v $(pwd):/app -p7145:7145 tina4stack/php composer upgrade   

Powered by ComboStrap