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).
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
[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
## !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
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/