Skip to content

Commit

Permalink
DOCS Update server requirements to account for public/_graphql/
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Jun 1, 2022
1 parent 6c09173 commit 8157e2c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/en/00_Getting_Started/00_Server_Requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,15 @@ also needs write access for the webserver user to the following locations:
and [Partial Template Caching](/developer_guides/templates/partial_template_caching).
See [Environment Management](/getting_started/environment_management).
* `.graphql-generated`: silverstripe/graphql version 4 introduces this directory. This is where your schema is
stored once it has been built. Best practice is to create it ahead of time, but if the directory doesn't exist
and your project root is writable, the graphql module will create it for you.
stored once it [has been built](/developer_guides/graphql/getting_started/building_the_schema). Best practice
is to create it ahead of time, but if the directory doesn't exist and your project root is writable, the graphql
module will create it for you.
* `public/_graphql`: silverstripe/graphql version 4 introduces this directory. Used by for
[schema introspection](/developer_guides/graphql/tips_and_tricks#schema-introspection). You should treat this folder
the same way you treat the `.graphql-generated` folder.

[info]
If you are still using silverstripe/graphql 3.x, you do not need the `.graphql-generated` directory.
If you are still using silverstripe/graphql 3.x, you do not need the `.graphql-generated` or `public/_graphql` directories.
[/info]

If you aren't explicitly [packaging](#building-packaging-deployment)
Expand Down

0 comments on commit 8157e2c

Please sign in to comment.