Skip to content
Grav 2.0 is officially stable. Read the announcement →
Installation & Hosting

Setup.php vs `bin/grav new-project`

Started by AquaL1te 8 years ago · 1 replies · 727 views
8 years ago

Hi,

I'm aware that setup.php can be used to guide a visitor to the right user/sites/$environment, but what about bin/grav new-project? It seems to symlink the Grav core files and create the user dependent dirs such as /backup, /user and /logs. To me that could be used to create Apache vhost dirs from a single Grav core instance. That way you only need to update a single instance, if I'm not mistaken.

So what's the general best practice to maintain a single Grav core instance while hosting multiple Grav websites with different templates and plugins?

8 years ago

Anyone, please? If someone could share his/her experience with this and tell me what's best, that would be greatly appreciated!

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by antoinep, 1 month ago
8 603 1 month ago
Installation & Hosting · by Jürgen Dietrich, 8 months ago
0 368 8 months ago
Installation & Hosting · by rappluk, 9 months ago
0 421 9 months ago
Installation & Hosting · by N, 1 year ago
3 350 1 year ago
Installation & Hosting · by Youle, 1 year ago
1 279 1 year ago