Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

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

Started by AquaL1te 8 years ago · 1 replies · 924 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 DrPen, 6 days ago
4 116 4 days ago
Installation & Hosting · by vollstock, 3 weeks ago
3 220 3 weeks ago
Installation & Hosting · by David, 7 years ago
3 3507 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
3 344 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
0 268 1 month ago