Hi I am trying to discover the laravel for the first time I started with laravel 4.2 I just created a new project but by mistaking I write the comand line like this
composer create-project laravel/laravel {wamp/www/myProject} 4.2 --prefer-dist
when I saw my www
directory I found the project Phase is something like that C:\wamp\www\{wamp\www\myProject}
now I realized that creating the project command should be something like
composer create-project laravel/laravel myProject 4.2 --prefer-dist
now can I solve this problem without deleting the project and recreate it again or should I delete and recreate project
and is it right to just go to my wampServer and delete the project manually or there is a special command to do so via the composer.
regards
You can just remove the directory with the content to delete the project. Optional you need to delete the database if you have one for the project to clean up the last part. On the other hand you also had to be administrator to put the content there.
Just delete the folder. Composer just facilitate to create a laravel project on your behalf with correct version and dependencies.
I saw you received an answer. You accepted it.
But you know, that is not the actual solution.
Your Composer has its own command
to help you deleting your needed one...
here it is:
rm -rf {{your project folder name}}
make sure that your composer opened in right folder direction.
That is,
When you are in your project folder, you can not delete it from here. you need to go outside of your current directory. This will only occur when you have opened your project in your IDE, doing works, and then you realise, you need to DELETE this project...
that means, you should make cd ..
this command.
If this seems hard to understand, don't panic, just do
rm -rf {{your project folder name}}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With