/training-uitm-docs

This is documentation for training Laravel On Cloud at UiTM Jasin

Laravel

Installation for Windows

Install Laragon here

Install NPM here

Install GitBash here

Install VSCode here

Install Putty here

Download phpMyAdmin here

Laravel Project via Composer

composer create-project --prefer-dist laravel/laravel blog

Check Version

composer --version

php artisan --version

php -v

npm -v

git --version

Basic GIT command

git init

git status

git add .

git commit -m "Commit message"

git remote add origin <server>

git push origin master

More git command

Daily Use Command

git status

git add .

git commit -m "Commit Message"

git push -u origin master

Clone Project

git clone https://url projectname

cd projectname

composer update

cp .env.example .env
    Update APP NAME
    Update APP KEY
        php artisan key:generate
    Update DB 
        go to DB Manager
            create DB
git remote set-url <remote-name> <remote-url>