From 9b652351545da50b7194eca20368816aed57ebe4 Mon Sep 17 00:00:00 2001 From: Andriy Date: Mon, 12 May 2025 21:06:10 +0200 Subject: [PATCH] 1 --- Exam/README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Exam/README.md b/Exam/README.md index 737a5bc..5c84788 100644 --- a/Exam/README.md +++ b/Exam/README.md @@ -53,7 +53,7 @@ The **Karel Robot Simulator** is a static, browser-based educational tool that l ## 4. How to View & Use ### On Netlify -```bash +``bash export NETLIFY_AUTH_TOKEN="" netlify login # needed once to login to your netlify netlify link # will use the token instead of prompting you @@ -67,7 +67,7 @@ netlify deploy --prod --dir=. ### Locally via Docker 1. **Build** the Docker image: -```bash +``bash ./prepare-app.sh Start the container(s): ./start-app.sh @@ -77,6 +77,8 @@ Stop when finished: Cleanup image & containers: ./remove-app.sh +--- + ## 5. Maintenance-Mode Scripts enable-maintenance.sh @@ -88,6 +90,8 @@ Restores the live simulator (index.html/manual.html) as the root content. You can run these anytime via the Netlify CLI, provided you have your NETLIFY_SITE_ID and NETLIFY_AUTH_TOKEN in your environment. +--- + ## 6. Execution Conditions Docker Tools (Engine, BuildKit or legacy builder, and Compose plugin) installed. @@ -95,10 +99,12 @@ Netlify CLI authenticated (netlify login) if you run the maintenance scripts or Scripts should be run from the project root containing the Dockerfile and HTML files. +--- + ## External References -Karel Format: https://karel.sourceforge.net/doc/html_mono/karel.html +-Karel Format: https://karel.sourceforge.net/doc/html_mono/karel.html -Netlify Docs: https://docs.netlify.com/ +-Netlify Docs: https://docs.netlify.com/ -Docker & Nginx: https://docs.docker.com/, https://nginx.org/ +-Docker & Nginx: https://docs.docker.com/, https://nginx.org/