AutonomousVehicleControlBeginnersGuide
자율주행 차량 제어 알고리즘 샘플 코드와 문서로, 초보자가 알고리즘과 소프트웨어 구조를 공부할 수 있는 기술 가이드
Hexlet SICP는 Structure and Interpretation of Computer Programs를 공부하는 사람들을 위한 서비스
Hexlet SICP is a service for those studying the book Structure and Interpretation of Computer Programs. Track your progress and match yourself against others on the global leaderboard.
교육PHP · BladeGitHub @hexlet-volunteers온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Read this in another language: Русский
Hexlet SICP is a service for those studying the book Structure and Interpretation of Computer Programs. Track your progress and match yourself against others on the global leaderboard.
How to study Structure and Interpretation of Computer Programs (SICP)
Q: I get this error Illuminate\Session\TokenMismatchException: CSRF token mismatch.
A: Reset your config cache php artisan config:clear
Run composer check-platform-reqs to check PHP deps:
corepack enable pnpm — version is pinned in package.json)docker compose, see below)The app runs on PostgreSQL everywhere: locally, in tests, on stage and in production.
The simplest way to get a database is the container from docker compose — it listens
on 127.0.0.1:54320 and creates both databases, the application one and the test one.
make compose-start-database # start PostgreSQL in a container
make setup # set up the project
make start # start server at http://127.0.0.1:8000/
make test # run tests
Connection settings are taken from .env, which make setup copies from .env.example.
Their defaults match the container above, so nothing has to be edited.
To use your own PostgreSQL instead of the container, change DB_* and TEST_DB_* in .env
(the default port is 5432) and create both databases by hand:
createdb hexlet_sicp
createdb hexlet_sicp_test
Tests recreate the schema on every run, so they use a separate database — never point
TEST_DB_DATABASE at the one you develop against.
make compose-setup # build project
make compose-start # start server at http://127.0.0.1:8000/
make compose-bash # start bash session inside docker container
make test # run tests inside docker container
Inside the containers the database host is set by docker-compose.yml, so the DB_HOST
and DB_PORT values from .env are not used there.
Stage environment uses Docker Compose to deploy a production-like setup on a single server.
Architecture:
app - Laravel application container (serves HTTP on port 80)queue - background queue workerdb - PostgreSQL databaseInitial setup (first time only):
Prepare the .env file on the server
cp .env.example .env
nano .env
Configure environment variables (see docker-compose.stage.yml)
APP_ENV=production
APP_DEBUG=false
APP_URL=https://your-domain.com
PRODUCTION_URL=https://your-domain.com
DB_CONNECTION=pgsql
DB_HOST=db
DB_PORT=5432
DB_DATABASE=hexlet_sicp
DB_USERNAME=sicp_user
DB_PASSWORD=your_secure_password
QUEUE_CONNECTION=database
SESSION_DRIVER=cookie
Run initial setup
make stage-setup
This will:
Deploying updates:
make stage-deploy
This will:
Deploying a specific branch:
make stage-deploy-branch BRANCH=feature/my-feature
This will:
Other commands:
make stage-start # Start containers
make stage-stop # Stop containers
make stage-restart # Restart containers
make stage-logs # View logs
make stage-bash # Open bash in app container
make stage-down # Stop and remove containers
make stage-reset # Complete rebuild: stop, remove volumes, rebuild, and reinitialize
HTTPS setup:
The stage app listens on HTTP (port 80) only. For HTTPS, use an external reverse proxy (Caddy, Traefik, or host-level nginx) for TLS termination.
여기까지가 README 앞부분입니다. 나머지는 원문에서 읽을 수 있습니다. README 전문 보기 ↗