luyadev / luya

LUYA is a scalable web framework and content management system with the goal to please developers, clients and users alike.
https://luya.io
MIT License
812 stars 207 forks source link

database migrate #816

Closed rahulk-k closed 8 years ago

rahulk-k commented 8 years ago

Im getting error while using ./vendor/bin/luya migrate command in windows xampp server error

nadar commented 8 years ago

You have to use the "windows-command approach", going into public_html and run commands like this php index.php <command> this has been added to the new docs already, but not published on luya.io as the docs will be updated due to new releases.

https://github.com/luyadev/luya/blob/master/docs/guide/en/install-windows.md (thanks to @mootensai)

nadar commented 8 years ago

I have also found out that all bin files can be runned with exec command of composer, so instead of

./vendor/bin/luya migrate

you can run on windows (with composer installed)

composer exec migrate

in the kickstarter directory.

nadar commented 8 years ago

@rahulk-k can we close this issue?