I've done my best to support Windows, in most part of EspBuddy, but I've not fully tested it. If you want to get a painless Espbuddy usage, please use either OSX (fully tested) or Linux (mostly tested).
This information is based on what I could remember to run EspBuddy on Windows. These are only notes, for myself and for your convenience.
-
PLEASE Don't except any Windows support from me!
-
Do your own tests, and please enhance this documentation and/or push PR to fixes any Windows issues.
-
All tests have been performed on a Windows 10, 64bits OS
Courtenesy of this blog article.
-
Download the LATEST Visual C++ Redistributable for Visual Studio, from here. ( I've tested :
x64: vc_redist.x64.exe
) -
launch the installer, and accept default settings
-
Download php7 from here. ( I've tested :
VC15 x64 Non Thread Safe
)_ -
Expand the zip file into the path
C:\php7
-
Configure PHP to run correctly on your system:
-
In the
C:\php7
folder, rename the file php.ini-development to php.ini. -
Edit the php.ini file in a text editor (e.g. Notepad++, Atom, or Sublime Text). Change the following settings in the file and save the file:
-
Uncomment the line that reads
;extension_dir = "ext"
(remove the;
so the line is justextension_dir = "ext"
). -
In the section where there are a bunch of extension= lines, uncomment the following lines:
extension=php_curl.dll extension=php_openssl.dll
-
-
-
Add
C:\php7
to your Windows system PATH:- Open the Windows Setting / System Control Panel.
- Search for 'Advanced System Settings'.
- Click the 'Environment Variables' button.
- Find the Path row under 'System variables', and click 'Edit'
- Click 'New' and add the row
C:\php7
. - Click OK, then OK, then OK, and close out of the Windows Setting / System Control Panel .
-
Launch a console to ensure that php is working, typing:
php -v
-
(TODO) Add EspBuddy in your PATH
-
TODO: Explain how to directly add EspBuddy.php to the PATH as a PHP executable application, to avaoid having to add 'php' before espbuddy.php .
Willing to help? Please edit this page!
-
- Download python v3.7. I've tested:
Windows x86-64 executable installer
- Launch the installer
- Click on "add Python 3.7 to PATH"
- Click on "Install Now"
- Launch a console to sensure that python is working, typing:
python --version
- ('sonodiy' command only) Install required pyton modules from the console :
pip install zeroconf PySide2
- Download Git for windows from here. ( I've tested :
Git-2.24.1.2-64-bit.exe
) - Launch the installer an accept default options
- From a console, go to your Espbuddy folder and run:
php espbuddy.php
- Finally start enjoying EspBuddy !