Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

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

Started by AquaL1te 8 years ago · 1 replies · 835 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 motorambler, 1 month ago
9 681 3 weeks ago
Installation & Hosting · by jeremycherfas, 1 month ago
1 336 1 month ago
Installation & Hosting · by antoinep, 4 months ago
8 1162 4 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 804 10 months ago
Installation & Hosting · by rappluk, 12 months ago
0 836 12 months ago