Difference between revisions of "Basic Laravel Training (for CV)"

From Ta Wiki
Jump to navigation Jump to search
(Created page with "== Installation == * Laravel Documentation https://laravel.com/docs/5.8")
 
Line 1: Line 1:
== Installation ==  
+
== Reference ==  
 
* Laravel Documentation
 
* Laravel Documentation
 
  https://laravel.com/docs/5.8
 
  https://laravel.com/docs/5.8
 +
 +
== Installation ==
 +
# Install LAMP Stack (ie. XAMPP)
 +
# Install Composer
 +
#: https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos
 +
#: หมายเหตุ: เวลาเรียกใช้งาน composer อาจจะต้องใช้ <code>./composer.phar</code> แทนที่ <code>composer</code> ถ้าทำการ Install composer เป็น local
 +
# Create new Laravel Project
 +
#: <pre>composer create-project --prefer-dist laravel/laravel PROJECT_NAME </pre>
 +
# Run Local Development Server
 +
#: <pre>php artisan serve # for running on localhost:8000</pre>
 +
#: or
 +
#: <pre>php artisan serve --port=8888 # for running on localhost:8888</pre>

Revision as of 15:59, 7 March 2019

Reference

  • Laravel Documentation
https://laravel.com/docs/5.8

Installation

  1. Install LAMP Stack (ie. XAMPP)
  2. Install Composer
    https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos
    หมายเหตุ: เวลาเรียกใช้งาน composer อาจจะต้องใช้ ./composer.phar แทนที่ composer ถ้าทำการ Install composer เป็น local
  3. Create new Laravel Project
    composer create-project --prefer-dist laravel/laravel PROJECT_NAME 
  4. Run Local Development Server
    php artisan serve # for running on localhost:8000
    or
    php artisan serve --port=8888 # for running on localhost:8888