dwrswr/inception-guide
Read it live: https://dwrswr-inception-guide.static.hf.space Everything below describes the files in this repository.
Inception — the complete guide
Open `index.html` in a browser. That is the whole thing: a from-zero tutorial for the 42 Inception project, written for somebody who has never used Docker.
There is an EN / العربية switch in the top corner (🌐). Arabic flips the page to right-to-left and is remembered between visits; code, terminal output and diagram labels stay in Latin script on purpose.
What is inside the guide
Four interactive widgets: a Docker layer/cache simulator, a spot-the-violation quiz, a request stepper, and a pre-defence checklist that saves your ticks in the browser.
reference/ — the project skeleton
Everything the guide shows, as real files ready to copy into your repository:
reference/
├── Makefile .gitignore
├── secrets/ four *.txt.example files
└── srcs/
├── docker-compose.yml .env.example
└── requirements/{mariadb,wordpress,nginx}/{Dockerfile,conf/,tools/}To use it:
cp -r reference/* ~/inception/ # into your own git repo
cd ~/inception
cp srcs/.env.example srcs/.env # then edit LOGIN, DOMAIN_NAME, users…
for f in db_password db_root_password wp_admin_password wp_user_password; do
openssl rand -base64 24 > secrets/$f.txt
done
makeThe compose file was validated with docker compose config (project name inception, images mariadb:inception / wordpress:inception / nginx:inception, volumes bound to /home/$LOGIN/data/…), the three shell scripts pass sh -n, the Makefile parses, and every file uses LF line endings — a single CRLF would break the shebang inside a Linux container.
The subject requires the project to run inside a virtual machine, so the images themselves have to be built there. reference/ is the source, not a build artifact.