-
Notifications
You must be signed in to change notification settings - Fork 772
Simplify windows installation #2222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| - Import the .sql files in /sql-files/ into the new database. | ||
| 5. Start Visual Studio and load the provided solution: | ||
| 3. Run mariadb.bat to automatically install and configure MariaDB. | ||
| 4. Start Visual Studio and load the provided solution: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could even reduce this further to a single command
powershell -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://rawgit.com/HerculesWS/Hercules/stable/install.ps1'))"We could make said command do the following:
- Install scoop,
- Install git
- Install MariaDB
- Install Visual Studio
- Clone Hercules
- Configure MariaDB
- Compile Hercules
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
power shell probably better leave as optional command
because not all windows may have and support powershell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
powershell is present since XP SP2, and XP and Vista aren't even supported anymore and 7 is only still supported in business editions
we can safely rely on powershell
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i not have poweshell in xp sp3, but probably it can be installed.
not sure is other windows is powershell optional component or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows 10 have powershell.
XP didn't have it.
Powershell was added to windows from Windows 7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There you go, I added a powershell detection in mariadb.bat
Pull Request Prelude
Changes Proposed
This is a follow-up to http://herc.ws/board/topic/16318-cant-connect-to-mysql-server-on-127001/#comment-89417