Skip to content

Commit c56fa6d

Browse files
author
Lasim
committed
docs(backend): update README with backup strategies and directory structure
1 parent 1d2e617 commit c56fa6d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

services/backend/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ All persistent data is stored in the `persistent_data/` directory, which maintai
111111

112112
### Directory Structure
113113

114-
```
114+
```bash
115115
persistent_data/
116116
├── database/
117117
│ └── deploystack.db # SQLite database (if using SQLite)
@@ -121,18 +121,21 @@ persistent_data/
121121
### Environment-Specific Locations
122122

123123
**Development (Local):**
124+
124125
- Location: `services/backend/persistent_data/`
125126
- Created automatically when running `npm run dev`
126127
- Direct file system access
127128

128129
**Production (Docker):**
130+
129131
- Location: `/app/persistent_data/` (inside container)
130132
- Mounted as Docker volume: `deploystack_backend_persistent`
131133
- Persists data between container restarts
132134

133135
### Backup Strategies
134136

135137
**Docker Volume Backup:**
138+
136139
```bash
137140
# Create backup
138141
docker run --rm -v deploystack_backend_persistent:/data \
@@ -146,6 +149,7 @@ docker run --rm -v deploystack_backend_persistent:/data \
146149
```
147150

148151
**Local Development Backup:**
152+
149153
```bash
150154
# Create backup
151155
tar czf deploystack-backup-$(date +%Y%m%d).tar.gz \

services/frontend/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ npx shadcn-vue@latest add dialog card input
7070
### Available Components
7171

7272
Check `components/ui/` for all available shadcn-vue components. Common ones include:
73+
7374
- Button, Card, Dialog, Input, Label
7475
- Select, Switch, Tabs, Toast
7576
- Table, Form, Alert, Badge
@@ -100,6 +101,7 @@ vim .env.local
100101
```
101102

102103
**Environment file priority** (highest to lowest):
104+
103105
1. `.env.local` (personal settings, gitignored)
104106
2. `.env.development.local`
105107
3. `.env.development`

0 commit comments

Comments
 (0)