9/2/19

How to create the laravel project | Part -2


Creating the laravel projects

1. Open Git bash or cmd
2. Type the commands

pwd - print working directory
cd c:
cd xampp/htdocs

(if you want to type clear the terminal type: 'clear')

composer create-project --prefer-dist laravel/laravel yourprojectname "5.2.*"

-or-

composer create-project laravel/laravel codehacking "5.2.*" --prefer-dist

mycase:
composer create-project laravel/laravel cms "5.2.*"

(Normally auto-install if got any error :

When if you got an error, try and do it.

composer install --no-scripts


-then-

composer install

)

- so my project name is cms.
- I've used the laravel version 5.2. If you like to use the latest version, you can mention the version of laravel.
- Project location:
C:\xampp\htdocs\cms

if laravel project successfullt installed, you got a message:

'Application key set successfully.'

ok done.


-----------------------------------
Project folder: (cms)

'vendor' folder:
if you go to a vendor you cansee all it's dependecies is going to be installing everything here that needs.

No comments:

Post a Comment

About

Hi, I'm Najathi.
I've started entrepreneurial company, Twin Brothers.Inc.
One is self-funded & the other is venture backed. I also send a weekly. where I share relevent, curated links.

Every Week I Publish a short post on writing, publishing, or content of IT Related

Contact Form

Name

Email *

Message *