summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoriza <59828082+izadoesdev@users.noreply.github.com>2025-06-24 07:50:06 +0300
committerGitHub <noreply@github.com>2025-06-24 07:50:06 +0300
commit704f620c927f8cf9a8f0b9015b81aa7deec6ec21 (patch)
treed840d53fc5571a60636650c4b153322c9048efa1 /README.md
parent4260d4be08817393af96e7843ed828183137119f (diff)
parent40a0d87c44da7472f94bd0cb943763df55e67b61 (diff)
downloadopencut-704f620c927f8cf9a8f0b9015b81aa7deec6ec21.tar.gz
Merge pull request #31 from YaoSiQian/patch-1
Fix Docker stuff (with README guidance)
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 25 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3dce0483..fd475410 100644
--- a/README.md
+++ b/README.md
@@ -27,11 +27,13 @@ A free, open-source video editor for web, desktop, and mobile.
## Getting Started
1. **Clone the repository:**
+
```bash
git clone <repo-url>
cd OpenCut
```
2. **Install dependencies:**
+
```bash
cd apps/web
npm install
@@ -39,16 +41,38 @@ A free, open-source video editor for web, desktop, and mobile.
bun install
```
3. **Run the development server:**
+
```bash
npm run dev
# or, with Bun
bun run dev
```
+4. **Open in browser:**
+
+ Visit [http://localhost:3000](http://localhost:3000)
+
+## Run with Docker
+1. **Prepare environment variables:**
+
+ Edit [docker-compose.yaml](https://github.com/OpenCut-app/OpenCut/blob/main/docker-compose.yaml#L57-L64)
+2. **Build and run:**
+
+ ```bash
+ docker-compose up -d --build
+ ```
+3. *(Optional)* **Migrate database:**
+
+ ```bash
+ docker-compose exec web bun run db:migrate
+ ```
4. **Open in browser:**
+
Visit [http://localhost:3000](http://localhost:3000)
## Contributing
+Visit [CONTRIBUTING.md](.github/CONTRIBUTING.md)
+=======
We welcome contributions! Please see our [Contributing Guide](.github/CONTRIBUTING.md) for detailed setup instructions and development guidelines.
Quick start for contributors:
@@ -59,4 +83,4 @@ Quick start for contributors:
## License
-MIT [Details](LICENSE)
+[MIT LICENSE](LICENSE)