Please provide a valid cache path

前端 未结 20 862
一生所求
一生所求 2020-12-12 12:15

I duplicated a working laravel app and renamed it to use for another app. I deleted the vendor folder and run the following commands again:

composer self-up         


        
20条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-12 12:55

    You can edit your readme.md with instructions to install your laravel app in other environment like this:

    ## Create folders
    
    ```
    #!terminal
    
    cp .env.example .env && mkdir bootstrap/cache storage storage/framework && cd storage/framework && mkdir sessions views cache
    
    ```
    
    ## Folder permissions
    
    ```
    #!terminal
    
    sudo chown :www-data app storage bootstrap -R
    sudo chmod 775 app storage bootstrap -R
    
    ```
    
    ## Install dependencies
    
    ```
    #!terminal
    
    composer install
    
    ```
    

提交回复
热议问题