Skip to content

Commit d4d9622

Browse files
authored
templates: remove outdated cloning and payload cloud information (#14484)
Fixes #14036 - Removes outdated readme section advising users to clone the templates using `git clone`. The `package.json` of those templates uses `workspace:*` syntax - this means they _have_ to go through create-payload-app now. - Removes docs and references to payload cloud
1 parent 39bead7 commit d4d9622

File tree

5 files changed

+2
-40
lines changed

5 files changed

+2
-40
lines changed

templates/_template/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Payload Blank Template
22

3-
A blank template for [Payload](https://github.com/payloadcms/payload) to help you get up and running quickly. This repo may have been created by running `npx create-payload-app@latest` and selecting the "blank" template or by cloning this template on [Payload Cloud](https://payloadcms.com/new/clone/blank).
3+
A blank template for [Payload](https://github.com/payloadcms/payload) to help you get up and running quickly. This repo may have been created by running `npx create-payload-app@latest` and selecting the "blank" template.
44

55
See the official [Examples Directory](https://github.com/payloadcms/payload/tree/main/examples) for details on how to use Payload in a variety of different ways.
66

@@ -35,7 +35,7 @@ To run Payload in production, you need to build and start the Admin panel. To do
3535

3636
### Deployment
3737

38-
The easiest way to deploy your project is to use [Payload Cloud](https://payloadcms.com/new/import), a one-click hosting solution to deploy production-ready instances of your Payload apps directly from your GitHub repo. You can also deploy your app manually, check out the [deployment documentation](https://payloadcms.com/docs/production/deployment) for full details.
38+
Check out the [deployment documentation](https://payloadcms.com/docs/production/deployment) for details on how to deploy your project.
3939

4040
## Questions
4141

templates/ecommerce/README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,12 @@ To spin up this example locally, follow these steps:
3636

3737
If you have not done so already, you need to have standalone copy of this repo on your machine. If you've already cloned this repo, skip to [Development](#development).
3838

39-
#### Method 1
40-
4139
Use the `create-payload-app` CLI to clone this template directly to your machine:
4240

4341
```bash
4442
pnpx create-payload-app my-project -t ecommerce
4543
```
4644

47-
#### Method 2
48-
49-
Use the `git` CLI to clone this template directly to your machine:
50-
51-
```bash
52-
git clone -n --depth=1 --filter=tree:0 https://github.com/payloadcms/payload my-project && cd my-project && git sparse-checkout set --no-cone templates/ecommerce && git checkout && rm -rf .git && git init && git add . && git mv -f templates/ecommerce/{.,}* . && git add . && git commit -m "Initial commit"
53-
```
54-
5545
### Development
5646

5747
1. First [clone the repo](#clone) if you have not done so already

templates/website/README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,12 @@ To spin up this example locally, follow these steps:
3131

3232
If you have not done so already, you need to have standalone copy of this repo on your machine. If you've already cloned this repo, skip to [Development](#development).
3333

34-
#### Method 1 (recommended)
35-
36-
Go to Payload Cloud and [clone this template](https://payloadcms.com/new/clone/website). This will create a new repository on your GitHub account with this template's code which you can then clone to your own machine.
37-
38-
#### Method 2
39-
4034
Use the `create-payload-app` CLI to clone this template directly to your machine:
4135

4236
```bash
4337
pnpx create-payload-app my-project -t website
4438
```
4539

46-
#### Method 3
47-
48-
Use the `git` CLI to clone this template directly to your machine:
49-
50-
```bash
51-
git clone -n --depth=1 --filter=tree:0 https://github.com/payloadcms/payload my-project && cd my-project && git sparse-checkout set --no-cone templates/website && git checkout && rm -rf .git && git init && git add . && git mv -f templates/website/{.,}* . && git add . && git commit -m "Initial commit"
52-
```
53-
5440
### Development
5541

5642
1. First [clone the repo](#clone) if you have not done so already
@@ -256,10 +242,6 @@ To run Payload in production, you need to build and start the Admin panel. To do
256242
1. Finally run `pnpm start` or `npm run start` to run Node in production and serve Payload from the `.build` directory.
257243
1. When you're ready to go live, see Deployment below for more details.
258244

259-
### Deploying to Payload Cloud
260-
261-
The easiest way to deploy your project is to use [Payload Cloud](https://payloadcms.com/new/import), a one-click hosting solution to deploy production-ready instances of your Payload apps directly from your GitHub repo.
262-
263245
### Deploying to Vercel
264246

265247
This template can also be deployed to Vercel for free. You can get started by choosing the Vercel DB adapter during the setup of the template or by manually installing and configuring it:

templates/website/src/components/BeforeDashboard/index.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ const BeforeDashboard: React.FC = () => {
2222
</a>
2323
{' to see the results.'}
2424
</li>
25-
<li>
26-
If you created this repo using Payload Cloud, head over to GitHub and clone it to your
27-
local machine. It will be under the <i>GitHub Scope</i> that you selected when creating
28-
this project.
29-
</li>
3025
<li>
3126
{'Modify your '}
3227
<a

templates/with-vercel-website/src/components/BeforeDashboard/index.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ const BeforeDashboard: React.FC = () => {
2222
</a>
2323
{' to see the results.'}
2424
</li>
25-
<li>
26-
If you created this repo using Payload Cloud, head over to GitHub and clone it to your
27-
local machine. It will be under the <i>GitHub Scope</i> that you selected when creating
28-
this project.
29-
</li>
3025
<li>
3126
{'Modify your '}
3227
<a

0 commit comments

Comments
 (0)