mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2025-12-05 20:40:18 -08:00
use langs locally
This commit is contained in:
@@ -11,8 +11,28 @@ _Hacktricks logos & motion designed by_ [_@ppiernacho_](https://www.instagram.co
|
||||
```bash
|
||||
# Download latest version of hacktricks cloud
|
||||
git clone https://github.com/HackTricks-wiki/hacktricks-cloud
|
||||
|
||||
# Select the language you want to use
|
||||
export LANG="master" # Leave master for english
|
||||
# "af" for Afrikaans
|
||||
# "de" for German
|
||||
# "el" for Greek
|
||||
# "es" for Spanish
|
||||
# "fr" for French
|
||||
# "hi" for Hindi
|
||||
# "it" for Italian
|
||||
# "ja" for Japanese
|
||||
# "ko" for Korean
|
||||
# "pl" for Polish
|
||||
# "pt" for Portuguese
|
||||
# "sr" for Serbian
|
||||
# "sw" for Swahili
|
||||
# "tr" for Turkish
|
||||
# "uk" for Ukrainian
|
||||
# "zh" for Chinese
|
||||
|
||||
# Run the docker container indicating the path to the hacktricks-cloud folder
|
||||
docker run -d --rm -p 3377:3000 --name hacktricks_cloud -v $(pwd)/hacktricks-cloud:/app ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image bash -c "cd /app && git pull && MDBOOK_PREPROCESSOR__HACKTRICKS__ENV=dev mdbook serve --hostname 0.0.0.0"
|
||||
docker run -d --rm --platform linux/amd64 -p 3377:3000 --name hacktricks_cloud -v $(pwd)/hacktricks-cloud:/app ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image bash -c "cd /app && git checkout $LANG && git pull && MDBOOK_PREPROCESSOR__HACKTRICKS__ENV=dev mdbook serve --hostname 0.0.0.0"
|
||||
```
|
||||
|
||||
Your local copy of HackTricks Cloud will be **available at [http://localhost:3377](http://localhost:3377)** after a minute.
|
||||
|
||||
Reference in New Issue
Block a user