<commit_before># Weather

An application written in Clojure/ClojureScript that shows the weather from
Wunderground. Uses Vagrant for setting up MongoDB for development and Docker
for production deployment.

## Setting up for the development

1. Install Git
2. Install VirtualBox
3. Install Vagrant
4. Install Leiningen
5. Clone the repository to the server
6. Run the following commands in the cloned directory:

```bash
# Download, install and run a virtualization environment for MongoDB.
# Takes a while... make sure that Intel Virtualization techonology VT-d is on
vagrant up

# In development, the above command starts MongoDB inside a Docker container
# running inside a proxy virtual machine. The application should be run at
# the host machine by running:
lein develop

# The above command calls ClojureScript compiler, starts Figwheel and the
# application itself. If you need an uberjar, then run:<commit_msg>Updated README.md.<commit_after># Weather

An application written in Clojure/ClojureScript that shows the weather from
Wunderground. Uses Vagrant for setting up MongoDB for development and Docker
for production deployment.

## Setting up for the development

1. Install Git
2. Install VirtualBox
3. Install Vagrant
4. Install Leiningen
5. Clone the repository to the server
6. Run the following commands in the cloned directory:

```bash
# Download, install and run a virtualization environment for MongoDB.
# Takes a while... make sure that Intel Virtualization techonology VT-d is on.
vagrant up

# In development, the above command starts MongoDB inside a Docker container
# running inside a proxy virtual machine. The application should be run
# separately at the host machine by running:
cd app
lein repl
(go)

# You can reset the backend (server, routes, etc) while in REPL
(reset)

# Keep figwheel and less4j running during development (in separate terminal).
lein develop

# The above command calls ClojureScript compiler, starts Figwheel and the
# application itself.
# If you need an uberjar, then run:
{'fraction_non_alphanumeric': 0.04677498769079271, 'fraction_numerical': 0.006400787789266372, 'mean_word_length': 4.628808864265928, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3643946', 'n_tokens_mistral': 547, 'n_tokens_neox': 519, 'n_words': 292}