Showing posts with label laravel install. Show all posts
Showing posts with label laravel install. Show all posts

Wednesday, November 14, 2018

laravel project from github setup step by step




1. Pull Laravel/php project from git provider.
 
 
 
2. Rename .env.example file to .env inside your project root and fill the database information. (windows wont let you do it, so you have to open your console cd your project root directory and run mv .env.example .env )
 
windows: copy .env.exmple to .env
 
3.  create database name and set .env file as your phpmyadmin setting.

4. Open the console and cd your project root directory

Run composer install or php composer.phar install
 
 
5. Run php artisan key:generate
6. Run php artisan migrate
7. Run php artisan db:seed to run seeders, if any.
8. Run php artisan serve

Saturday, October 27, 2018

laravel project setup in ubuntu machine laravel 5.7 version.


At first you need to install composer in your machine,

Introduction

Composer  is a popular dependency management tool for PHP, created mainly to facilitate installation and updates for project dependencies. It will check which other packages a specific project depends on and install them for you, using the appropriate versions according to the project requirements.

This tutorial will explain how to install and get started with Composer on an Ubuntu 18.04 system.



  • sudo apt-get update
  • sudo apt install composer





Source here

for bootstrap configure

laravel task management project




For permission any file :

Laravel >= 5.4
php artisan cache:clear 
chmod -R 777 storage/
composer dump-autoload