<commit_before># go-web-demo

A demo website written in Go.

## Usage

1.  Ensure the project path in $GOPATH

2.  Get and install the library dependencies:

```bash
# session manager 
go get github.com/astaxie/session
go get github.com/astaxie/session/providers/memory
```

3.  Change mode of script & run:

```bash
cd <project_path>
chmod +x deploy.sh
./deploy.sh
```

## License
 
Copyright (C) 2012

Distributed under the BSD-style license, the same as Go.

<commit_msg>Edit readme file: update 'Usage' section<commit_after># go-web-demo

A demo website written in Go.

## Usage

1.  Ensure the project path in $GOPATH

2.  Install [Redis](http://redis.io/) database.

3.  Get and install the library dependencies:

```bash
# session manager 
go get github.com/astaxie/session
go get github.com/astaxie/session/providers/memory

# redis driver
go get github.com/garyburd/redigo/redis
```
4.  Edit go-web-demo.config for your need.

5.  Change mode of script & run:

```bash
cd <project_path>
chmod +x deploy.sh
./deploy.sh
```

## License
 
Copyright (C) 2012

Distributed under the BSD-style license, the same as Go.


{'fraction_non_alphanumeric': 0.11219946571682991, 'fraction_numerical': 0.014247551202137132, 'mean_word_length': 3.663900414937759, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '30910', 'n_tokens_mistral': 419, 'n_tokens_neox': 389, 'n_words': 136}