fly-apps / dockerfile-laravel

19 stars 1 forks source link

Generate .fly directory when fly.toml found #21

Closed KTanAug21 closed 7 months ago

KTanAug21 commented 7 months ago

What: Generate contents of .fly directory when the fly.toml file is found in the Laravel project base directory

How:

  1. Copy over files from the .fly directory as blade templates in resources/views
  2. Create a Scanner that includes those files as part of the list of $templates to generate
  3. Create a File helper that creates both the required file and necessary directories ( this is for writing in initially none-existent .fly and .fly/scripts directories )
KTanAug21 commented 7 months ago

I see nothing requiring attention now - just left a few comments for the future.

Thanks @rubys !