Skip to content

🎥 Make videos programmatically with React

Update brownfield-installation.md

omercelikd22895d3e3f4
diff --git a/packages/docs/docs/brownfield-installation.md b/packages/docs/docs/brownfield-installation.md
index c2df36ed25..057f88f8b5 100644
--- a/packages/docs/docs/brownfield-installation.md
+++ b/packages/docs/docs/brownfield-installation.md
@@ -50,15 +50,15 @@ yarn add @remotion/cli remotion
## Setting up the folder structure
-Create a new folder for the Remotion files. It can be anywhere and assume any name, in this example we name it `remotion` and put it in the root of our project. Inside the folder you created, create 3 files:
+Create a new folder for the Remotion files. It can be anywhere and assume any name, in this example we name it `video` and put it in the root of our project. Inside the folder you created, create 3 files:
-```tsx twoslash title="remotion/Composition.tsx"
+```tsx twoslash title="video/Composition.tsx"
export const MyComposition = () => {
return null;
};
```
-```tsx twoslash title="remotion/Root.tsx"
+```tsx twoslash title="video/Root.tsx"
// @filename: Composition.tsx
export const MyComposition: React.FC = () => {
return null;
@@ -85,7 +85,7 @@ export const RemotionRoot: React.FC = () => {
};
```
-```ts twoslash title="remotion/index.ts"
+```ts twoslash title="video/index.ts"
// @filename: Composition.tsx
export const MyComposition: React.FC = () => {
return null;
@@ -124,17 +124,17 @@ The file that calls [`registerRoot()`](/docs/register-root) is now your Remotion
Start the Remotion Studio using the following command:
```
-npx remotion studio remotion/index.ts
+npx remotion studio video/index.ts
```
-Replace `remotion/index.ts` with your entrypoint if necessary.
+Replace `video/index.ts` with your entrypoint if necessary.
## Render a video
Render our a video using
```
-npx remotion render remotion/index.ts MyComp out.mp4
+npx remotion render video/index.ts MyComp out.mp4
```
Replace the entrypoint, composition name and output filename with the values that correspond to your usecase.