docs: add workspace clone commands
This commit is contained in:
@@ -28,6 +28,47 @@ Multi-service monorepo for the Darano financial/crypto platform.
|
||||
- [overmind](https://github.com/DarthSim/overmind) or [foreman](https://github.com/ddollar/foreman) — Procfile runner
|
||||
- PostgreSQL 16, Redis, RabbitMQ running locally (or via Docker)
|
||||
|
||||
## Clone the Workspace
|
||||
|
||||
The Darano workspace is an aggregate of independent Git repositories. These
|
||||
commands reproduce the current directory layout and select the branches used by
|
||||
this refactor. They expect the local branches to have been pushed first and
|
||||
require SSH access to `git.darano.ir` (except `dev-procfile`, which uses HTTPS).
|
||||
|
||||
```bash
|
||||
mkdir darano
|
||||
cd darano
|
||||
|
||||
git clone --branch feat/refactor-v1 git@git.darano.ir:Kahroba/AdminPanel.git AdminPanel
|
||||
git clone --branch m2 git@git.darano.ir:Kahroba/DevOps.git DevOps
|
||||
git clone --branch dev git@git.darano.ir:Kahroba/GL.git GL
|
||||
git clone --branch main git@git.darano.ir:KuknosNode/Scripts.git Kuknos-Node-scripts
|
||||
git clone --branch dev git@git.darano.ir:Kahroba/alert.git alert
|
||||
git clone --branch main git@git.darano.ir:Kahroba/api.git api
|
||||
git clone --branch feat/refactor-v1 git@git.darano.ir:Kahroba/auth.git auth
|
||||
git clone --branch main https://git.darano.ir/Kahroba/dev-procfile.git dev-procfile
|
||||
git clone --branch dev git@git.darano.ir:Kahroba/docs.git docs
|
||||
git clone --branch feat/refactor-v1 git@git.darano.ir:Kahroba/proto.git proto
|
||||
git clone --branch fix/contact-us git@git.darano.ir:Kahroba/ui.git ui
|
||||
git clone --branch feat/refactor-v1 git@git.darano.ir:Kahroba/wallet.git wallet
|
||||
```
|
||||
|
||||
`private-chain/` is not included because the current local repository has no
|
||||
`origin` remote configured.
|
||||
|
||||
Recreate the root documentation links after cloning:
|
||||
|
||||
```bash
|
||||
ln -s dev-procfile/AGENTS.md AGENTS.md
|
||||
ln -s dev-procfile/CLAUDE.md CLAUDE.md
|
||||
ln -s dev-procfile/README-REFACTORING.md README-REFACTORING.md
|
||||
ln -s dev-procfile/README.md README.md
|
||||
ln -s dev-procfile/REFACTORING-AUDIT.md REFACTORING-AUDIT.md
|
||||
ln -s dev-procfile/REFACTORING-PLAN.md REFACTORING-PLAN.md
|
||||
ln -s dev-procfile/REFACTORING-TODO.md REFACTORING-TODO.md
|
||||
ln -s dev-procfile/گزارش-زیرساخت-توکنسازی-دارانو.md گزارش-زیرساخت-توکنسازی-دارانو.md
|
||||
```
|
||||
|
||||
## Infrastructure
|
||||
|
||||
Start the shared infrastructure (Postgres, Redis, RabbitMQ, MinIO):
|
||||
|
||||
Reference in New Issue
Block a user