Deploying someone else code Wamp - Laravel

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Deploying someone else code Wamp - Laravel



I have managed to install the laravel framework; I'm using windows 10 and wamp. I have created a test folder using the following commands



"composer create-project --prefer-dist laravel/laravel myproject"



My question is: Our developer has sent me the code for another Laravel project, how do I get this up and running on my localhost?





cd ROOT_DIR_OF_PROJECT; Then run composer install;
– invalid-bot
Aug 10 at 11:18





Not sure what you mean by this, I already have the code from the developer. I need to know how to get this running.
– Jamie Bennett
Aug 10 at 11:20





php artisan serve in your project folder? Or setup a webserver. laravel.com/docs/5.6/installation might come in handy
– kerbholz
Aug 10 at 11:24



php artisan serve





so can i just copy and paste the code sent into C:wamp64wwwnewclient and then run php artisan serve ?
– Jamie Bennett
Aug 10 at 11:34





Yep. In your project folder: you need to install all composer packages beforehand (like @invalid-bot said): composer install will install them. If you want to edit assets you need to npm install. Setup your database and user (if any). You probably also need to copy .env.example to .env and edit the values to fit your needs. Then php artisan serve and you should be good to go.
– kerbholz
Aug 10 at 11:49



composer


composer install


npm install


.env.example


.env


php artisan serve









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard