Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Grav dir questions - assets/ vendor/

Started by Muut Archive 11 years ago · 2 replies · 250 views
11 years ago

There's going to come a point where I will have to completely transplant a grav install with content, custom themes and plugins from a development server to a live server, and it needs to work exactly as it stands. It's obvious that the cache/ dir doesn't need to move, it will be regenerated.

But what exactly are assets/ and vendor/ for? Seems vendor/ is not going to re-generate itself. Also what about the images/ dir in the root of the grav install?

11 years ago

Grav has been designed in such a way that the entire user/ folder should contain all your user content including pages, configuration, plugins, themes, images, etc.

Everything else outside of the user folder is considered a Grav system folder. All you need to do is install Grav on your remote server, then copy over your user folder.

For completeness the assets/ folder is for Grav generated and processed compresses/minified css/js assets. These are automatically regenerated as needed by Grav.

The vendor/ folder is where all the 3rd party libraries are stored.

The images/ folder is where Grav stores processed images.

These are all system level folders and you shouldn't really need to mess with them.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1332 9 years ago
Archive · by Muut Archive, 9 years ago
2 923 9 years ago
Archive · by Muut Archive, 9 years ago
2 4053 9 years ago
Archive · by Muut Archive, 9 years ago
1 2931 9 years ago
Archive · by Muut Archive, 9 years ago
3 1109 9 years ago