php - What is the best way to install Laravel on HTML website that already use GIT? -


i have complete html website folders css, js & images , use version control git.

what best way install laravel 5 on website keep git track diversion html laravel framework smoothly.

the steps convert current html website laravel easy unless if have js backend:

  1. install laravel
  2. move css,js,images laravel public folder
  3. move html files resource/views , rename them name.blade.php or name.php.
  4. fix reference links of css, js , images.
  5. the big part!!! navigation go through routes , backend logic in controllers. e.g. wanna go page! have rule in route redirect function in controller , function call view (html page currently) , optionally pass information view.

these simple ways transfer website, once can learn many features of laravel can optimize site.


Comments

Popular posts from this blog

Sass watch command compiles .scss files before full sftp upload -

filehandler - java open files not cleaned, even when the process is killed -

gridview - Yii2 DataPorivider $totalSum for a column -