Really struggling to set up with Windows 11,

cpanathan

May 13th, 2022 06:58 AM

I'm looking for a good tutorial on how to set up a Wave test website to mess around with locally, would greatly appreciate a link!

Getting to composer and getting this error, but composer works when I try to set up a lone Laravel local test window and won't work when I get to step number 3 of installing Wave; Adding Composer Dependencies at the "composer install" step...

https://imgur.com/a/OQgzFgU

Thanks guys.

EDIT:

https://www.youtube.com/watch?v=zcYG0yVn9YU

I'm confident in Bobby's suggestion and this guys video seems to solve the issue. I've tried Laragon for a few hours and watching this video it seems I was making the same mistake.

Will fill you guys in further ASAP. :)

cpanathan

May 13th, 2022 07:33 AM

I've gotten one step further by adding this to the composer.json file;

    "monolog/monolog": "2.0.*"

Now I'm getting this error here:

PS C:\xampp\htdocs\project-two> php artisan migrate

Doctrine\DBAL\Driver\PDO\Exception

SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)

at C:\xampp\htdocs\project-two\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDO\Exception.php:18 14▕ final class Exception extends PDOException 15▕ { 16▕ public static function new(\PDOException $exception): self 17▕ { ➜ 18▕ return new self($exception); 19▕ } 20▕ } 21▕

1 C:\xampp\htdocs\project-two\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:44 Doctrine\DBAL\Driver\PDO\Exception::new(Object(PDOException))

2 C:\xampp\htdocs\project-two\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:40 PDOException::("S

bobbyiliev

May 13th, 2022 09:10 AM

Hi there,

I personally don't use Windows, but I've heard that lots of people use Laragon for Laravel development on Windows.

You can give it a try:

Alternatively you could just setup a $5 per month server on DigitalOcean and install Wave there using this script here:

Then you can use VS Code for remote development as described in this tutorial here:

That way Wave will be live on your DigitalOcean server and you will be developing directly on that dev server from your Windows PC, without having to install anything locally except VS Code.

You can get free $100 credit for DigitalOcean via this link too:

Hope that this helps!

Best,

Bobby

Report
1
bobbyiliev

May 13th, 2022 09:13 AM

Also to add some information about your error:

  • Firs you need to clone the project with:
git clone https://github.com/thedevdojo/wave.git project_name
  • Then access the directory:
cd project_name
  • And only then run the composer install command

Regarding the DB error, note that you need to have MySQL installed locally and also define your MySQL credentials in the .env file correctly.

Hope that this helps!

Report
1
cpanathan

May 13th, 2022 11:29 AM

As my old pal T-Swift used to say...

I really really really really really really like you!

cpanathan

May 13th, 2022 12:12 PM

Buddy you're a star, I'll float back if I run into another issue!

Thanks.

cpanathan

May 13th, 2022 04:38 PM

Ahh I hadn't migrated my database from inside of MySQL Workbench...

Going to wipe my device and give this a fresh start tomorrow guys, hopefully my luck changes!

Thanks.

bobbyiliev

May 14th, 2022 12:50 AM

Hey there!

No problem at all! Let me know how it goes!

cpanathan

May 14th, 2022 04:51 AM

I'm planning to wipe my laptop in the next hour or two to give it a shot again... I had tried to follow everything by the book with Laragon and databases again, wouldn't work...

I wonder if it's due to MySQL not being in my Environment Variables like I had to add xampp + PHP 8?

I had gotten great use of other DevDojo services while flicking through too... Tails is overpowered, nothing else but a God-Send!

Report
1
bobbyiliev

May 15th, 2022 09:00 AM

Hey there!

Super happy to hear that you are finding such value in the DevDojo services!

Let me know how the Laragon installation goes.

Usually, if this still does not work well, I could suggest just using the remote development server as an option.

If you prefer to stick with Windows, I can try looking into writing a tutorial for that too.

cpanathan

May 17th, 2022 08:14 AM

We still are struggling this end a bit to be honest, my little brother's studying computer systems and networking and basically lives off Unix & Window's CMD...

We still couldn't figure out the file placement, adding paths to both side to try give access to whatever's downloading.

So we tried XAMPP & composer for Windows and all we get is "this file is missing" or isn't in the right place. I myself tried for about 8 hours over three days on Windows and Andrew spent at least 6 hours working with systems and commands he's confident and comfortable in.

If we figure it out I'm all for helping out with that tutorial buddy. Thanks so much for the offer.

I hope all is well.