👋 Welcome to the Learn Prompting Uzbek Edition! This is a collaborative open-source project between Learn Prompting and HumblebeeAI to bring high-quality AI education to Uzbekistan.
This project uses Docusaurus 2, a modern static website generator, to host the curriculum. It includes custom localization, a dedicated "About Collaboration" page, and alignment with national AI initiatives.
- Node.js version 18.0 or above
- Docker (optional, for containerized deployment)
-
Clone the repository:
git clone https://github.com/humblebeeai/Learn_Prompting.git cd Learn_Prompting -
Install dependencies:
npm install
-
Start the development server:
npm start
The site will open at
http://localhost:3000.
Copy the example environment file to .env to configure the application:
cp .env.example .env| Variable | Description | Default |
|---|---|---|
LP_PORT |
Port inside the container | 80 |
LP_EXTERNAL_PORT |
Port exposed to host | 3000 |
To run the application in a Docker container (recommended for production):
-
Build and run:
docker compose up --build -d
-
Verify: Access the site at
http://localhost:3000. Health Check:http://localhost:3000/health.json
The application exposes a health check endpoint at /health.json.
- URL:
http://localhost:3000/health.json - Response:
{"status": "ok", "service": "learn-prompting", ...}
This is actively monitored by the Docker container's HEALTHCHECK instruction.
Docker Connection Failed:
Cannot connect to the Docker daemon...Ensure Docker Desktop is running.
Port Conflicts:
If port 3000 is in use, modify LP_EXTERNAL_PORT in your .env file.
Ensure all items are checked before deploying to production:
- Source code inside
src/. - Root contains
Dockerfile,docker-compose.yml,.gitignore,.dockerignore. - No hardcoded secrets.
-
.gitignoreproperly configured. - No unnecessary files (build outputs, etc.) committed.
-
Dockerfileuses multi-stage builds. -
docker-compose.ymlconfigured. - Image size optimized (using
nginx:alpine). -
HEALTHCHECKimplemented in Dockerfile.
- No hardcoded configs.
-
.env.exampleincluded withLP_prefix.
-
/health.jsonendpoint implemented. - Docker container monitors health status.
-
README.mdis comprehensive (this file). - API/Service documentation included.