Skip to content

dissenter-web/personal-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Site (FastAPI)

Личный сайт-портфолио на FastAPI + Jinja2 с мультиязычным контентом (ru/en).

Stack

  • FastAPI
  • Jinja2 templates
  • Docker / docker-compose

1) Быстрый запуск (Docker)

  1. Создай .env в корне (опционально):
    APP_ENV=production
  2. Подними контейнер:
    docker compose up --build
  3. Открой сайт: http://localhost:8000

2) Локальный запуск (без Docker)

  1. Установи зависимости:
    pip install -r requirements.txt
  2. Запусти приложение:
    uvicorn app.main:app --reload

3) Проверки

  • Проверка синтаксиса Python:
    python -m compileall app static/js
  • Проверка health endpoint:
    curl -s http://localhost:8000/healthz

4) Структура проекта

  • app/ — backend-код (роуты)
  • templates/ — Jinja-шаблоны страниц
  • static/ — CSS/JS/контент (static/content/*.json)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors