Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to Laravel #39

Open
ghost opened this issue Dec 4, 2015 · 1 comment
Open

Migration to Laravel #39

ghost opened this issue Dec 4, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 4, 2015

This is happening right now.
As we plan to do continuous integration on the Plugin catalogue of GLPi (glpi-plugin-directory running at plugins.glpi-project.org), the codebase is moving to Laravel right now.
I'm writing this issue as a memo for myself, it will be updated.

For all those points, I'm looking for Laravel best-practices, but writing it down here first

  • moving the configuration files to laravel's .env usage or use any practice encouraged by laravel in order to have custom configuration values for the app runtime
  • [practice included] using Laravel Schemas instead of the previous structure.sql which eventually starts to be difficult to maintain. Write those Schemas definition in Laravel migrations.
  • properly "include" the angular.js application in the new laravel project's directory structure, will need a beautiful solution for that, meaning that I don't see why PHP should be used to serve the index.html, looking for apache mod_rewrite usage/anything good for the purpose of keeping both angular and laravel codebases technically separated at the app runtime stack level
  • eventually move some Apache configuration parameters for the virtualhost in the .htaccess file if possible [for deployment easiness] (planned for a future version, will simply edit the recommended virtualhost)
ghost pushed a commit that referenced this issue Dec 4, 2015
 + modifying Gruntfile so
  + now building app dist in the public/ directory
   + now having no more auto copied .htaccess from generator-angular
   + having the default .htaccess of Eloquent
   + will merge what is possible from the readme.md's example in that .htaccess
   + changing the clean task settings
    + so that it only deletes the files that will be
      in fact created by the build phase
@becker
Copy link

becker commented Mar 9, 2019

Hello! Is there any way I can contribute with this? :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant