This guide aims to set up a comfy “dev” environment for tasty on Windows. I will use where available portable solutions (feel free to do it differently).

SW required:

xampp: https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/7.4.14/xampp-portable-windows-x64-7.4.14-1-VC15.zip/download
git: https://github.com/git-for-windows/git/releases/download/v2.30.0.windows.2/PortableGit-2.30.0.2-64-bit.7z.exe
composer: https://getcomposer.org/Composer-Setup.exe

First, we need to create our dev folder where we will extract xampp and git.

From the xampp readme we have some reminder:

Important! PHP in this package needs the Microsoft Visual C++ 2017 Redistributable package from
http://www.microsoft.com/en-us/download/.

  • QUICK INSTALLATION:

[NOTE: Unpack the package to your USB stick or a partition of your choice.
There it must be on the highest level like E:\ or W:. It will
build E:\xampp or W:\xampp or something like this. Please do not use the “setup_xampp.bat” for a USB stick installation!]

Step 1: […] Please start the “setup_xampp.bat”.

Step 2: […] double-click on “xampp-control.exe”! Hit the start button for Apache and MySQL.

Step 3: Start your browser and type http://127.0.0.1 or http://localhost in the location bar. You should see the xampp start page

Remind: Inside the xampp folder we will have setup_xampp.bat, run it when you move our “dev” folder (it will set up a path for PHP, etc..)

Now we can install composer, you can follow this guide https://thecodedeveloper.com/install-composer-windows-xampp/

You just have to make the installer point to the xampp PHP bin file. (Remind to rerun setup if you move our “dev” folder)

Now we can download setup files from tastyigniter https://tastyigniter.com/download

go inside \xampp\htdocs\ extract inside the setup master zip we downloaded and rename the extracted folder to tasty.

Now take care of adjusting the .htaccess file inside the tasty folder to reflect those changes:

  ## Turn on URL rewriting
  ##
  RewriteEngine On

  ## !IMPORTANT! You may need to uncomment the following line for some hosting environments,
  ## If your installation resides in a subdirectory, enter the name here also
  ##
  RewriteBase /tasty/

Create a DB for tasty to do so:

On “xampp-control.exe” click on the admin button next to MySQL
Go to the database section and create a DB named tasty (encoding utf8mb4_unicode_ci)

Now we can open http://localhost/tasty/ and lunch setup.php
Follow the instructions, and on the database setup page provide DB name: tasty, user: root, and leave the other fields untouched.

After setup is finished you will be able to access tasty locally at http://localhost/tasty/admin/

Enjoy 🙂

    4 months later

    Hello, I did everything like the setup guide said to do, however, it gets stuck on “Finishing site setup…” then the error “Maximum execution time of 120 seconds exceeded” I am not sure whats going on.

      pkershner you need to adjust max exec time var in php.ini
      We can fix this by following simple steps:

      Open a file php.ini in your Editor, File located under xampp/php/ folder
      Find a line max_execution_time .
      Replace default value of max_execution_time=30 to max_execution_time=120
      Save this file and stop apache server in xamp control panel
      Now re-start apache server in xampp control panel.
      This way we have increased default php execution time in our localserver(XAMPP)

      23 days later

      I dont know what went wrong but im on the end of my set up on the “Finishing site setup” when this happen “Required parameter $mode follows optional parameter $columns”. on the top right of the screen.

        10 months later

        HI everyone,
        I’ve installed the xampp into d:\xampp folder and cloned the tastyIgniter from github on d:\dev\tasty (develop branch) and made the configs for composer as the contribution guide.
        Can I setup the xampp to use this development version to run the TastyIgniter ?

        Thanks

          avelinocneto please follow the guide

          go inside **\xampp\htdocs** extract inside the setup master zip we downloaded and rename the extracted folder to tasty.

          instead of the master zip you can git clone dev repos but you still have ti be inside xampp\htdocs

            breaksecurity I have made it, but when I open on browser it’s saying:
            Setup required, missing foundation files. Please run composer install && php artisan igniter:install

              2 years later

              "Good morning, I’m having issues with the installation.
              Here is the error log.

              [10-Feb-2024 04:06:59 UTC] PHP Fatal error: During class fetch: Uncaught ParseError: syntax error, unexpected ‘,’ in /home/apos/public_html/laterraza/vendor/symfony/translation-contracts/TranslatorTrait.php:138
              Stack trace:
              #0 /home/apos/public_html/laterraza/vendor/composer/ClassLoader.php(427): Composer\Autoload{closure}(‘/home/apos/publ…’)
              #1 [internal function]: Composer\Autoload\ClassLoader->loadClass(‘Symfony\Contrac…’)
              #2 /home/apos/public_html/laterraza/vendor/symfony/translation/IdentityTranslator.php(23): spl_autoload_call(‘Symfony\Contrac…’)
              #3 /home/apos/public_html/laterraza/vendor/composer/ClassLoader.php(576): include(‘/home/apos/publ…’)
              #4 /home/apos/public_html/laterraza/vendor/composer/ClassLoader.php(427): Composer\Autoload{closure}(‘/home/apos/publ…’)
              #5 [internal function]: Composer\Autoload\ClassLoader->loadClass(‘Symfony\Compone…’)
              #6 /home/apos/public_html/laterraza/vendor/symfony/translation/Formatter/MessageFormatter.php(33): spl_autoload_call(‘Symfony\Compone…’)
              #7 /home/apos/public_html/laterraza/vendor/n in /home/apos/public_html/laterraza/vendor/symfony/translation/IdentityTranslator.php on line 23

              Can you please help me?"

                @infoactivamedia581 I can’t say for sure without more info, but this type of issue usually comes up due to a PHP version mismatch - can you confirm that the PHP version on your XAMPP installation is 8.0+? The one linked to at the top of this thread (from 2021) is looks to be PHP 7.4, which will cause some issues.