lamp-install-script icon indicating copy to clipboard operation
lamp-install-script copied to clipboard

projects.lamp

Open mhlavac opened this issue 12 years ago • 5 comments

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.

mhlavac avatar Feb 15 '13 01:02 mhlavac

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).

tomas-pecserke avatar Feb 15 '13 17:02 tomas-pecserke

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...

tomas-pecserke avatar Feb 17 '13 15:02 tomas-pecserke

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?

mhlavac avatar Feb 17 '13 22:02 mhlavac

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.

mhlavac avatar Apr 15 '13 22:04 mhlavac

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).

tomas-pecserke avatar Apr 25 '13 16:04 tomas-pecserke