Links
Comment on page

Before we start tutorial

Setup for tutorial

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.
  1. 1.
    Use git to download a starting point to follow the tutorial.
Symfony
Laravel
Lite
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 to verify if everything is ready. There are two options which you can choose Local Environment or using Docker (preferred).
Docker
Local Environment
/** 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 World
Good job, scenario ran with success!"
/** 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 World
Good job, scenario ran with success!"
If you saw above text, then we are ready to go. Time for Lesson 1!