<commit_before>### hugo-dropbox

Docker image that serves a hugo site from dropbox

### Setup

Environment variable `DROPBOX_FOLDER` sets which dropbox folder to use for
hugo files.

First start a container:
```
docker run --rm -ti -e DROPBOX_FOLDER="hugo test" -p 8080:80 test
```
After a while you will see log messages from dropboxd:  
 ```
This computer isn't linked to any Dropbox account...
Please visit https://www.dropbox.com/cli_link_nonce?nonce=.... to link this device.
 ```
Visit the link in a browser logged in with the dropbox account you want to
link. Once linked files will start to be synced and hugo will start running.

Now your site should be available at `http://docker-host:8080`

### docker-compose

```
site:
  image: mwader/hugo-dropbox
  restart: always
  environment:
    - DROPBOX_FOLDER=Homepage
```

Run `docker-compose up -d` and check logs `docker-compose logs`

### Tips

You most probably want to create a dedicated dropbox account for hugo-dropbox
and share a collaborative folder with it. That way it does not sync and have<commit_msg>Use correct port in example<commit_after>### hugo-dropbox

Docker image that serves a hugo site from dropbox

### Setup

Environment variable `DROPBOX_FOLDER` sets which dropbox folder to use for
hugo files.

First start a container:
```
docker run --rm -ti -e DROPBOX_FOLDER="hugo test" -p 8080:8080 test
```
After a while you will see log messages from dropboxd:  
 ```
This computer isn't linked to any Dropbox account...
Please visit https://www.dropbox.com/cli_link_nonce?nonce=.... to link this device.
 ```
Visit the link in a browser logged in with the dropbox account you want to
link. Once linked files will start to be synced and hugo will start running.

Now your site should be available at `http://docker-host:8080`

### docker-compose

```
site:
  image: mwader/hugo-dropbox
  restart: always
  environment:
    - DROPBOX_FOLDER=Homepage
```

Run `docker-compose up -d` and check logs `docker-compose logs`

### Tips

You most probably want to create a dedicated dropbox account for hugo-dropbox
and share a collaborative folder with it. That way it does not sync and have
{'fraction_non_alphanumeric': 0.08526413345690455, 'fraction_numerical': 0.010194624652455977, 'mean_word_length': 4.032634032634032, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4751573', 'n_tokens_mistral': 695, 'n_tokens_neox': 660, 'n_words': 293}