D
D
Dinara Chanchanyan2020-11-28 19:41:33
Laravel
Dinara Chanchanyan, 2020-11-28 19:41:33

How to open laravel project after cloning?

I need to fix styles in someone else's laravel project. I cloned but it doesn't open on localhost.
What I did:
1. Cloned to htdocs
2. Installed Composer
3. Renamed .env.example to .env
4. Checked database settings. I have on MAMP.
5. Tried to do php artisan migrate. But he wrote "Could not open input file: artisan"

Tell me what I missed, maybe there are some other ways to open the project?
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2020-11-28
@Dinarik_dinarik

Php artisan key:generate
Check database parameters in .env
Php artisan serve
Npm install
npm run watch or the mixer is running to build styles.
This is at least.

@
@wistis, 2020-12-06
_

Could not open input file: artisan"
Means that the artisan file was not found. Check if you are running the command from the same folder.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question