<commit_before>
The London Node User Group Website

http://lnug.org

![Supporting 24PullRequests](https://img.shields.io/badge/Supporting-24PullRequests-red.svg)

# Install


How to run
----------
You can serve this with *any* static web server, but we'll use [mongoose](https://code.google.com/p/mongoose/).

1. `git clone <EMAIL>:lnug/lnug.github.io.git`
2. `cd lnug.github.io`
3. `npm install`
4. `npm run build`
3. `npm start`
4. go to http://localhost:5001


# Contributing

Please note the HTML files in the root of this repository are generated. 

If you want to change the templates look in the pages folder.

Please ensure that any changes you make persist after you run the update command documented below.


# Update

This site can be updated by running:

```
  npm run build
```

build pulls in the speakers from the github issues and updates the json files.

It then generates the html for the index and archive.html files.

Once you have built the site confirm it works locally before pushing to master as that will deploy the site.

Check the package.json file for a full list of commands you can run.

###For the image-gallery, 
Just add the URLS to the images inside file `api\gallery.json`.
Then you run `npm run photos`, and this will happen:
- for each entry, it will read the field "source" with image URL
- resize the image and create the thumbnail
- update the field "thumb" in file gallery.json with URL for the newly created thumb image

Then `npm run build` to build the markup with the thumbnails

To run the update you need permission to execute the bin directory.

  chmod 775 ./bin/*

--- 
<commit_msg>updating README.md<commit_after>
The London Node User Group Website

http://lnug.org

![Supporting 24PullRequests](https://img.shields.io/badge/Supporting-24PullRequests-red.svg)

# Install


How to run
----------
You can serve this with *any* static web server, but we'll use [mongoose](https://code.google.com/p/mongoose/).

1. `git clone <EMAIL>:lnug/lnug.github.io.git`
2. `cd lnug.github.io`
3. `npm install`
4. `npm run build`
3. `npm start`
4. go to http://localhost:5001


# Contributing

Please note the HTML files in the root of this repository are generated. 

If you want to change the templates look in the pages folder.

Please ensure that any changes you make persist after you run the update command documented below.


# Update

This site can be updated by running:

```
  npm run build
```

build pulls in the speakers from the github issues and updates the json files.

It then generates the html for the index and archive.html files.

Once you have built the site confirm it works locally before pushing to master as that will deploy the site.

Check the package.json file for a full list of commands you can run.

###For the image-gallery:
Just add the URLS to the images inside file `api\gallery.json`.
Then you run `npm run photos`, and this will happen:
- for each entry, it will read the field "source" with image URL
- resize the image and create the thumbnail
- update the field "thumb" in file gallery.json with URL for the newly created thumb image

Then `npm run build` to build the markup with the thumbnails

To run the update you need permission to execute the bin directory.

  chmod 775 ./bin/*

--- 

{'fraction_non_alphanumeric': 0.07986536107711138, 'fraction_numerical': 0.01040391676866585, 'mean_word_length': 3.643465909090909, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '3967692', 'n_tokens_mistral': 983, 'n_tokens_neox': 925, 'n_words': 485}