Skip to content

Instantly share code, notes, and snippets.

View roc26002w's full-sized avatar
:octocat:

Rocko roc26002w

:octocat:
View GitHub Profile
#!/bin/bash
function gateFile(){
for file in $1
do
if [ -d "${file}" ]
then
gateFile "${file}/*"
fi
# pipeline 中可以有多個 stages
stages:
- build
- deploy-dev
# 每個 stages 可以有多個 Job
# Job Name = ComposerAndArchive
ComposerAndArchive:

Requirement doc / 需求文件

分為

* 一般人員 : 無技術字眼,主要讓一般人看得懂
* 技術人員 : 可有技術字眼,較好讓技術人員理解

內容

* Inex - 目錄
* Why - 為什麼有這個需求說明
* Accept - 期待

##Git 忽略檔案

##.gitignore

可以在根目錄下加入 .gitignore 檔案,此設定會影響底下的子目錄 也可以在子目錄下加入 .gitignore 檔案,此設定只會影響該目錄下的檔案或file。

如果當已 commit 該檔案後,而想把此檔案移出板控可以下 :
git rm --cached 檔案名稱 移出版控

Web Development with Laravel 5

目標

如何在開發的過程中加入測試。

  1. Model
  2. Repository
  3. Controller
  4. Auth