Skip to content

eggtower/securityTutorial

 
 

Repository files navigation

securityTutorio

環境部署

  1. PHP7.2~7.*
  2. Composer
  3. PHP 必須啟用 intl 模組
    • in Ubuntu OS
        sudo apt-get install php7.2-intl
            > Select new config
        sudo apt-get install zip unzip php7.2-zip
        sudo update-alternatives --config php
            > Select PHP7.2 index number
    

程式部署

將專案從 github fork 一份到自己的儲存庫後 clone 至本地端,再依下列步驟部屬程式。

  1. 取得框架檔案 github 上的程式不含框架本體,所以必須在 clone 至本地端後,使用 Composer 套件管理器下載回來。 至 cmd 或 bash 中,cd 至專案根目錄執行以下指令。

    composer update
    
  2. env檔設定 複製跟目錄下的 env 並且重新命名為 .env 。 移除掉 17 行的 # 並且修改至以下內容。

    CI_ENVIRONMENT = development
    
  3. 啟動開發伺服器 至 cmd 或 bash 中,cd 到專案根目錄執行以下指令。

    php spark serve
    

    當畫面出現以下訊息,代表開發伺服器已經部屬完畢,可以開始開發。

    CodeIgniter development server started on http://localhost:8080
    

    執行 Ctrl+C 可以關閉開發伺服器。

使用框架或程式庫

About

No description, website, or topics provided.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 48.1%
  • CSS 34.4%
  • HTML 12.7%
  • JavaScript 4.3%
  • Other 0.5%