-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Composer post create project commands fail on Windows #1242
Comments
It works on my windows system as the old composer-installation and like the the documentaion. |
@damsfx @nialma according to this - composer/composer#11709 (comment) - it won't be doable for Instead of @nialma's suggestion of rolling back the
This would get the environment set up in a way that it could be run immediately. Any thoughts on the above? (/cc @LukeTowers) |
just did this for myself because I work with Windows and there is currently an error. With the "step back" in Composer I'm back to the "old" installation - if there's an easier way, I don't mind - it works fine for me under Windows.... Your idea is good, but not everyone works with SQLite... they should
@damsfx i work also and at the moment only with windows an php artisan winter:install does ask me anything as the "old" versions with the "step back" in the composer.js |
@nialma You're right, not everyone uses SQLite, but the intention is to make it so that You can see that Laravel does exactly the same thing when someone runs |
@bennothommo that sounds plausible and good....
and that is the reason why i use for a laravel-project a downloaded version and make it manual and not with composer...... local i use laragon with marianDB/mySQL php 8.2.24 |
@bennothommo @nialma For myself, I use both MariaDB and SQLite databases, depending on the needs of the project. Aligning with Laravel's choices doesn't worry me, as long as it allows new users to have a project up and running in a single command line. In my opinion, the more WinterCMS is aligned with Laravel, the better! Povilas' experience in testing Laravel-based CMS fits in with this idea. |
@bennothommo I'm game with your proposed flow, could we perhaps have the final step be outputting to the console instructions for running winter:install --force to make it easier to guide people to use the CLI installer if they've just created a new project so that they can go through the flow to set the other values handled by that process (user etc)? |
Winter CMS Build
dev-develop
PHP Version
8.1
Database engine
MySQL/MariaDB
Plugins installed
No response
Issue description
Related
The new composer post commands on Windows are done with all default values.
My tests are running the following on both Windows and Windows Subsystem Linux:
php artisan winter:install
is executed without user interaction.Steps to replicate
On a Windows system, simply run
composer create-project wintercms/winter example.com "dev-develop"
Workaround
No response
The text was updated successfully, but these errors were encountered: