29 lines
688 B
Markdown
29 lines
688 B
Markdown
# random-pseudonyme-generator
|
|
|
|
Generate funny random pseudonyms composed of an adjective, a noun and a number between 1 and 999.
|
|
|
|
## Download data
|
|
|
|
To download the data files, you can either use python to directly run the script like this :
|
|
|
|
```bash
|
|
python download_data.py
|
|
```
|
|
|
|
Or you can use the provided Dockerfile to build a docker image and run it like this :
|
|
|
|
```bash
|
|
docker build -t download_data .
|
|
docker run --volume $(pwd)/data:/app/data download_data
|
|
```
|
|
|
|
## Generate pseudonyms
|
|
|
|
To generate pseudonyms, just run the rust program with cargo :
|
|
|
|
```bash
|
|
cargo run $NUMBER_OF_PSEUDONYMS
|
|
```
|
|
|
|
If you don't provide a number of pseudonyms, the script will generate 100 by default.
|