docs: add an initial Basics section to talk about the dist and build directories
This commit is contained in:
@@ -12,10 +12,15 @@ keywords: deployment, production, config, configuration, documentation, Content
|
||||
|
||||
There are many ways to deploy Payload to a production environment. When evaluating how you will deploy Payload, you need to consider these main aspects:
|
||||
|
||||
1. [Basics](#basics)
|
||||
1. [Security](#security)
|
||||
1. [Your MongoDB](#mongodb)
|
||||
1. [Permanent File Storage](#file-storage)
|
||||
|
||||
## Basics
|
||||
|
||||
In order for Payload to run, it requires both the server code and the built admin panel. These will be the `dist` and `build` directories by default. If you've used `create-payload-app` to create your project, executing the `build` npm script will build both and output these directories.
|
||||
|
||||
## Security
|
||||
|
||||
Payload features a suite of security features that you can rely on to strengthen your application's security. When deploying to Production, it's a good idea to double-check that you are making proper use of each of them.
|
||||
|
||||
Reference in New Issue
Block a user