lamp-install-script
lamp-install-script copied to clipboard
projects.lamp
This webpage should list all directories in /var/www
. These will be known as projects to user.
In second phase, i would love to add functionality to create new projects directly from this webpage. Windows users will see samba project location \\lamp\www\project.example
and will be easily able to work with it.
It would be great to be able to choose from multiple projects layouts to create new project from. Absolute must have is "composer created" project (the default way to install no-vendor version of Symfony and can be used for Skeleton too) and empty layout (only basic directory structure, VirtualHost, and DNS record).
Clearly this feature will have web frontend, but it would be nice to be able to use it from console too. For web frontend I'd use PHP but for actual functionality we can make shell scripts and use them internally from web frontend or we can write it completely in Symfony and make console commands for it available. Here is the dilemma...
Whole project should be made in only one language. It's not wise to split it into shell and PHP.
I would go for symfony full stack. Should i create a new repo for this project on github?
I've changed my mind. For LAMP it would actually be better if shell would take care of project creation and site would only call this script.
Here comes the problem of separating the project as it will have dependency on LAMP.
Actually I'd stick with Symfony. Based on your comment regarding creating repository on GitHub, I've got an idea. Wouldn't it be nice, if the project creation process also included creating GitHub (or BitBucket) repository? That could easily be done with PHP-based project, while using shell it can be done, but it would be a bit more difficult.
And we could connect it with other services (such as Trello).