Compare commits
No commits in common. "main" and "master" have entirely different histories.
9 changed files with 112 additions and 2 deletions
35
HANDOFF.md
Normal file
35
HANDOFF.md
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Handoff: iscg.blog Setup
|
||||
|
||||
## Что сделано
|
||||
- Создан `index.html` с заглушкой
|
||||
- Фон: молочный (#f5f5f0)
|
||||
- Шрифт: печатная машинка (Courier New)
|
||||
- Текст: "сейчас тут ничего нет, но скоро что-то появится."
|
||||
|
||||
## Что нужно сделать на сервере
|
||||
1. Клонировать репозиторий:
|
||||
```bash
|
||||
git clone https://git.iscg.dev/mikl/mikl-blog.git /var/www/iscg.blog
|
||||
```
|
||||
|
||||
2. Настроить Caddy:
|
||||
```
|
||||
iscg.blog {
|
||||
root * /var/www/iscg.blog
|
||||
file_server
|
||||
}
|
||||
```
|
||||
|
||||
3. Перезапустить Caddy:
|
||||
```bash
|
||||
sudo systemctl reload caddy
|
||||
```
|
||||
|
||||
## Домен
|
||||
iscg.blog уже направлен на 158.160.136.83 (сказал пользователь)
|
||||
|
||||
## Дизайн-предпочтения пользователя
|
||||
- Фон: молочный/кремовый (см. референсы в чате)
|
||||
- Шрифт: печатная машинка, монospace
|
||||
- Минимализм
|
||||
- Точки в конце предложений эстетичны
|
||||
36
README.md
36
README.md
|
|
@ -1,3 +1,35 @@
|
|||
# mikl-blog
|
||||
# iscg.blog
|
||||
|
||||
My personal blog
|
||||
Личный блог.
|
||||
|
||||
## Структура
|
||||
- `index.html` — заглавная страница
|
||||
- `favicon.svg` — иконка (буква "m" в белом круге, шрифт Courier New)
|
||||
|
||||
## Домен и сервер
|
||||
- Домен: iscg.blog (*.iscg.blog)
|
||||
- Сервер: [скрыт]
|
||||
- Репозиторий: git.iscg.dev/mikl/mikl-blog
|
||||
|
||||
## Что реализовано после handoff
|
||||
- [x] Создана заглушка с кремовым фоном (`#f5f5f0`)
|
||||
- [x] Шрифт печатной машинки (Courier New)
|
||||
- [x] Favicon: белый круг + буква "m"
|
||||
- [x] Автодеплой: cron job каждую минуту (`git pull`)
|
||||
- [x] Caddy настроен на `iscg.blog` и `*.iscg.blog`
|
||||
|
||||
## Деплой
|
||||
Push в ветку `master` — автоматически подтягивается на сервер в течение минуты.
|
||||
|
||||
## Локальная разработка
|
||||
```bash
|
||||
git clone https://git.iscg.dev/mikl/mikl-blog.git
|
||||
cd mikl-blog
|
||||
# правка файлов
|
||||
git add .
|
||||
git commit -m "..."
|
||||
git push
|
||||
```
|
||||
|
||||
## Логи автодеплоя
|
||||
`/home/michaotic/.logs/iscg-blog-deploy.log`
|
||||
|
|
|
|||
BIN
chroma/3ed8395a-ee08-473c-b974-748a079d8566/data_level0.bin
Normal file
BIN
chroma/3ed8395a-ee08-473c-b974-748a079d8566/data_level0.bin
Normal file
Binary file not shown.
BIN
chroma/3ed8395a-ee08-473c-b974-748a079d8566/header.bin
Normal file
BIN
chroma/3ed8395a-ee08-473c-b974-748a079d8566/header.bin
Normal file
Binary file not shown.
BIN
chroma/3ed8395a-ee08-473c-b974-748a079d8566/length.bin
Normal file
BIN
chroma/3ed8395a-ee08-473c-b974-748a079d8566/length.bin
Normal file
Binary file not shown.
BIN
chroma/chroma.sqlite3
Normal file
BIN
chroma/chroma.sqlite3
Normal file
Binary file not shown.
4
favicon.svg
Normal file
4
favicon.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
||||
<circle cx="50" cy="50" r="48" fill="#ffffff"/>
|
||||
<text x="50" y="72" font-family="Courier New, monospace" font-size="85" font-weight="bold" fill="#1a1a1a" text-anchor="middle">m</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 257 B |
39
index.html
Normal file
39
index.html
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>mikl</title>
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #E9E9E7;
|
||||
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
|
||||
background-blend-mode: soft-light;
|
||||
opacity: 0.97;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
|
||||
}
|
||||
|
||||
.message {
|
||||
font-size: 1.2rem;
|
||||
color: #1a1a1a;
|
||||
text-align: center;
|
||||
padding: 2rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="message">сейчас тут ничего нет, но скоро что-то будет.</p>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in a new issue