Compare commits
2 commits
c54849cf20
...
d83e3bb9d4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d83e3bb9d4 | ||
|
|
dc64bdc9eb |
2 changed files with 17 additions and 0 deletions
|
|
@ -39,6 +39,18 @@ Run these commands one by one. Analyze each result before proceeding:
|
||||||
9. `find /opt /home /root /srv -maxdepth 4 -name '.git' -type d 2>/dev/null | head -10` — найти git-репозитории; для каждого: `git -C <path> remote -v && git -C <path> log --oneline -3 2>/dev/null` — remote origin и последние коммиты
|
9. `find /opt /home /root /srv -maxdepth 4 -name '.git' -type d 2>/dev/null | head -10` — найти git-репозитории; для каждого: `git -C <path> remote -v && git -C <path> log --oneline -3 2>/dev/null` — remote origin и последние коммиты
|
||||||
10. `ls -la ~/.ssh/ 2>/dev/null && cat ~/.ssh/authorized_keys 2>/dev/null` — список установленных SSH-ключей. Не читать приватные ключи (id_rsa, id_ed25519 без .pub)
|
10. `ls -la ~/.ssh/ 2>/dev/null && cat ~/.ssh/authorized_keys 2>/dev/null` — список установленных SSH-ключей. Не читать приватные ключи (id_rsa, id_ed25519 без .pub)
|
||||||
|
|
||||||
|
## Data Safety
|
||||||
|
|
||||||
|
**НИКОГДА не удаляй источник без бекапа и до подтверждения что данные успешно доставлены на цель. Порядок: backup → copy → verify → delete.**
|
||||||
|
|
||||||
|
When moving or migrating data (files, databases, volumes):
|
||||||
|
1. **backup** — create a backup of the source first
|
||||||
|
2. **copy** — copy data to the destination
|
||||||
|
3. **verify** — confirm data integrity on the destination (checksums, counts, spot checks)
|
||||||
|
4. **delete** — only then remove the source
|
||||||
|
|
||||||
|
Never skip or reorder these steps. If verification fails — stop and report, do NOT proceed with deletion.
|
||||||
|
|
||||||
## Rules
|
## Rules
|
||||||
|
|
||||||
- Run commands one by one — do NOT batch unrelated commands in one ssh call
|
- Run commands one by one — do NOT batch unrelated commands in one ssh call
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,11 @@ import vue from '@vitejs/plugin-vue'
|
||||||
// https://vite.dev/config/
|
// https://vite.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [vue()],
|
plugins: [vue()],
|
||||||
|
server: {
|
||||||
|
proxy: {
|
||||||
|
'/api': 'http://localhost:8000',
|
||||||
|
},
|
||||||
|
},
|
||||||
test: {
|
test: {
|
||||||
environment: 'jsdom',
|
environment: 'jsdom',
|
||||||
globals: true,
|
globals: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue