4 Commits

Author SHA1 Message Date
14ec8182b0 fix create_TheClass 欄位名稱錯誤 2018-07-25 16:36:16 +08:00
4122cd1fdd Revert "add editorconfig"
This reverts commit af2d907ce2.
2018-07-25 16:23:27 +08:00
af2d907ce2 add editorconfig 2018-07-25 15:59:39 +08:00
72c7737919 從原定前端套件安裝的npm改用yarn 2018-07-25 15:56:04 +08:00
4 changed files with 7560 additions and 14252 deletions

View File

@@ -14,7 +14,7 @@ class CreateTheClassTable extends Migration {
{ {
Schema::create('TheClass', function(Blueprint $table) Schema::create('TheClass', function(Blueprint $table)
{ {
$table->integer('CID', true); $table->integer('C_ID', true);
$table->string('name', 50)->comment('類別名稱'); $table->string('name', 50)->comment('類別名稱');
}); });
} }

14247
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -7,17 +7,17 @@
### 1. 將你的專案下載回來,並進入此專案目錄 ### 1. 將你的專案下載回來,並進入此專案目錄
$ git clone <此專案網址> $ git clone <此專案網址>
$ cd BlogMatch $ cd BlogMatch
### 2. 安裝PHP相關函式庫 ### 2. 安裝PHP相關函式庫
$ composer install $ composer install
### 3. 安裝前端相關函式庫 ### 3. 安裝前端相關函式庫
$ npm install $ yarn install
### 4. 設定 .env 檔 ### 4. 設定 .env 檔
`.env.example` 複製成 `.env` `.env.example` 複製成 `.env`
並修改裡面的內容如資料庫的相關參數DB_DATABASE=、DB_USERNAME和DB_PASSWORD。 並修改裡面的內容如資料庫的相關參數DB_DATABASE=、DB_USERNAME和DB_PASSWORD。
### 5. 重新產生 `APP_KEY` ### 5. 重新產生 `APP_KEY`
$ php artisan key:generate $ php artisan key:generate
@@ -26,4 +26,4 @@
## 執行此專案 ## 執行此專案
### 快速啟動 ### 快速啟動
$ php artisan serve $ php artisan serve

7555
yarn.lock Normal file

File diff suppressed because it is too large Load Diff