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.
    Use git to download a starting point to follow the tutorial.
Symfony
Laravel
Lite
1
git clone [email protected]:ecotoneframework/symfony-tutorial.git
2
# Go to symfony-tutorial catalog
Copied!
1
git clone [email protected]:ecotoneframework/laravel-tutorial.git
2
# Go to laravel-tutorial catalog
3
4
# Normally you will use "php artisan" for running console commands
5
# To reduce number of difference during the tutorial
6
# "artisan" is changed to "bin/console"
Copied!
1
git clone [email protected]:ecotoneframework/lite-tutorial.git
2
# Go to lite-tutorial catalog
Copied!
2. Run command line application. There are two options, run on your Local Environment or using Docker
Local Environment
Docker
1
/** You need to have atleast PHP 8.0 and Composer installed */
2
1. Run "composer install"
3
2. Run starting command "bin/console ecotone:quickstart"
4
3. You should see:
5
"Running example...
6
Hello World
7
Good job, scenario ran with success!"
Copied!
1
/** Ecotone Quickstart ships with docker-compose with preinstalled PHP 8.0 */
2
1. Run "docker-compose up -d"
3
2. Enter container "docker exec -it ecotone-quickstart /bin/bash"
4
3. Run starting command "composer instal"
5
4. Run starting command "bin/console ecotone:quickstart"
6
5. You should see:
7
"Running example...
8
Hello World
9
Good job, scenario ran with success!"
Copied!
Great, we are prepared for Lesson 1!
Last modified 7mo ago
Export as PDF
Copy link