Files
random-pseudonyme-generator/README.md
2024-11-19 22:54:09 +01:00

22 lines
674 B
Markdown

# random-pseudonyme-generator
Generate funny random pseudonyms composed of an adjective, a noun and a number between 1 and 999.
## Usage
You can either use python to directly run the script like this :
```bash
python pyrpg.py $NUMBER_OF_PSEUDONYMS
```
Or you can use the provided Dockerfile to build a docker image and run it like this :
```bash
docker build -t pyrpg .
docker run --volume $(pwd)/out:/out --env NUMBER_OF_PSEUDONYMS=$NUMBER_OF_PSEUDONYMS pyrpg
```
If you don't provide a number of pseudonyms, the script will generate 100 by default.
Pseudonyms are written to a file named `pseudonyms.txt` in the '/app/out' volume so you can retrieve them easily.