Compare commits
No commits in common. "master" and "main" have entirely different histories.
9 changed files with 2 additions and 112 deletions
35
HANDOFF.md
35
HANDOFF.md
|
|
@ -1,35 +0,0 @@
|
||||||
# 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,35 +1,3 @@
|
||||||
# iscg.blog
|
# mikl-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`
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,4 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 257 B |
39
index.html
39
index.html
|
|
@ -1,39 +0,0 @@
|
||||||
<!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