Skip to content

Latest commit

 

History

History
83 lines (68 loc) · 2.14 KB

before-we-start-tutorial.md

File metadata and controls

83 lines (68 loc) · 2.14 KB

Before we start tutorial

Setup for tutorial

Depending on the preferences, we may choose tutorial version for

  1. Use git to download starting point in order to start tutorial

{% tabs %} {% tab title="Symfony" %}

git clone [email protected]:ecotoneframework/symfony-tutorial.git
# Go to symfony-tutorial catalog

{% endtab %}

{% tab title="Laravel" %}

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"

{% endtab %}

{% tab title="Lite" %}

git clone [email protected]:ecotoneframework/lite-tutorial.git
# Go to lite-tutorial catalog

{% endtab %} {% endtabs %}

2. Run command line application to verify if everything is ready.

{% hint style="success" %} There are two options in which we run the tutorial:

  • Local Environment
  • Docker (preferred) {% endhint %}

{% tabs %} {% tab title="Docker" %}

/** 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 install"
4. Run starting command "bin/console ecotone:quickstart"
5. You should see:
"Running example...
Hello World
Good job, scenario ran with success!"

{% endtab %}

{% tab title="Local Environment" %}

/** 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!"

{% endtab %} {% endtabs %}

{% hint style="success" %} If you can see "Hello World", then we are ready to go. Time for Lesson 1! {% endhint %}

{% content-ref url="php-messaging-architecture.md" %} php-messaging-architecture.md {% endcontent-ref %}