Depending on your preferences, you may choose for the tutorial Symfony
Laravel
or Lite (No extra framework)
.
If configuration will differ, there will be three tabs available, each with code specific to the chosen solution.
Use git to download a starting point to follow the tutorial.
git clone [email protected]:ecotoneframework/symfony-tutorial.git# Go to symfony-tutorial catalog
git clone [email protected]:ecotoneframework/laravel-tutorial.git# Go to laravel-tutorial catalog​# Normally you will use "php artisan" for running console commands# To reduce number of difference during the tutorial# "artisan" is changed to "bin/console"
git clone [email protected]:ecotoneframework/lite-tutorial.git# Go to lite-tutorial catalog
2. Run command line application. There are two options, run on your Local Environment or using Docker
/** You need to have atleast PHP 8.0 and Composer installed */1. Run "composer install"2. Run starting command "bin/console ecotone:quickstart"3. You should see:"Running example...Hello WorldGood job, scenario ran with success!"
/** Ecotone Quickstart ships with docker-compose with preinstalled PHP 8.0 */1. Run "docker-compose up -d"2. Enter container "docker exec -it ecotone-quickstart /bin/bash"3. Run starting command "composer instal"4. Run starting command "bin/console ecotone:quickstart"5. You should see:"Running example...Hello WorldGood job, scenario ran with success!"
Great, we are prepared for Lesson 1!