Skip to content

Commit a136e4c

Browse files
author
strausr
committed
docs(cli): add Cloudinary account signup guidance
1 parent d720b02 commit a136e4c

4 files changed

Lines changed: 6691 additions & 1931 deletions

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ Part of the [Cloudinary Developers](https://github.com/cloudinary-devs) organiza
66

77
Scaffold a Cloudinary React + Vite + TypeScript project with interactive setup.
88

9+
## Prerequisites
10+
11+
- Node.js 18+ installed
12+
- A Cloudinary account (free tier available)
13+
- [Sign up for free](https://cloudinary.com/users/register/free)
14+
- Your cloud name is in your [dashboard](https://console.cloudinary.com)
15+
916
## Usage
1017

1118
```bash
@@ -14,7 +21,7 @@ npx create-cloudinary-react
1421

1522
The CLI will prompt you for:
1623
- Project name
17-
- Cloudinary cloud name
24+
- **Cloudinary cloud name** (found in your [dashboard](https://console.cloudinary.com))
1825
- Upload preset (optional)
1926
- AI coding assistant(s) you're using (Cursor, GitHub Copilot, Claude, etc.)
2027
- Whether to install dependencies

cli.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function isValidProjectName(name) {
2525

2626
async function main() {
2727
console.log(chalk.cyan.bold('\n🚀 Cloudinary React + Vite Boilerplate\n'));
28+
console.log(chalk.gray('💡 Need a Cloudinary account? Sign up for free: https://cloudinary.com/users/register/free\n'));
2829

2930
const answers = await inquirer.prompt([
3031
{
@@ -49,9 +50,16 @@ async function main() {
4950
type: 'input',
5051
name: 'cloudName',
5152
message: 'Cloudinary Cloud Name:',
53+
description: chalk.gray(
54+
'Your cloud name is shown in your dashboard: https://console.cloudinary.com'
55+
),
5256
validate: (input) => {
5357
if (!input.trim()) {
54-
return 'Cloud name is required';
58+
return chalk.yellow(
59+
'Cloud name is required.\n' +
60+
' → Sign up: https://cloudinary.com/users/register/free\n' +
61+
' → Find your cloud name: https://console.cloudinary.com'
62+
);
5563
}
5664
if (!isValidCloudName(input)) {
5765
return 'Cloud name can only contain lowercase letters, numbers, hyphens, and underscores';

0 commit comments

Comments
 (0)