<commit_before>#### Build

1. export GOPATH=$HOME/gopath

   export PATH=$HOME/gopath/bin:$PATH
   
   mkdir -p $HOME/gopath/src/github.com/opensds/
   
   cd $HOME/gopath/src/github.com/opensds
   
2. git clone https://github.com/opensds/opensds.git $HOME/gopath/src/github.com/opensds/

3. cd opensds (import necessary packages)

   go get github.com/spf13/cobra

   go get github.com/astaxie/beego

   go get github.com/coreos/etcd/client
   
4. cd cmd/sdslet

   go build
   
5. cd cmd/sdsctl

   go buld
   
6. cp cmd/sdslet/sdslet /usr/local/bin

   cp cmd/sdsctl/sdsctl /usr/local/bin

7. vim examples/config.json (config backend storage credential information)

   sudo mkdir /etc/opensds

   sudo cp examples/config.json /etc/opensds/

8. sudo touch /var/log/opensds.log (create OpenSDS logging file)

#### Run

* Make sure **etcd** is up

```sh
./bin/etcd
```

* Start **sdslet** with root access (for logging purpose)

```sh
sudo sdslet //suppose the user has copied the compiled binary to /usr/local/bin
```

* Run **sdsctl** for operations you want to perform. 

```sh<commit_msg>Update INSTALL file<commit_after>#### Build

1. export GOPATH=$HOME/gopath

   export PATH=$HOME/gopath/bin:$PATH
   
   mkdir -p $HOME/gopath/src/github.com/opensds/
   
   cd $HOME/gopath/src/github.com/opensds
   
2. git clone https://github.com/opensds/opensds.git $HOME/gopath/src/github.com/opensds/

3. cd opensds (import necessary packages)

   go get github.com/opensds/opensds/cmd/osdsctl

   go get github.com/opensds/opensds/cmd/osdslet

   go get github.com/opensds/opensds/cmd/osdsdock
   
4. cd cmd/sdslet

   go build
   
5. cd cmd/sdsctl

   go buld

6. cd cmd/sdsdock

   go build
   
7. cp cmd/sdslet/sdslet /usr/local/bin

   cp cmd/sdsctl/sdsctl /usr/local/bin

   cp cmd/sdsdock/sdsdock /usr/local/bin

7. vim examples/config.json (config backend storage credential information)

   vim examples/dock_route.json (config dock route table in controller module)

   vim examples/dock_node.json (config dock node in dock module)

   sudo mkdir /etc/opensds

   sudo cp examples/*.json /etc/opensds/

8. sudo mkdir /var/log/opensds (create OpenSDS logging directory)

#### Run

* Start **sdsdock** with root access (for logging purpose)

```sh
sudo sdsdock //suppose the user has copied the compiled binary to /usr/local/bin
```

* Start **sdslet** with root access (for logging purpose)

```sh
sudo sdslet //suppose the user has copied the compiled binary to /usr/local/bin
```

* Run **sdsctl** for operations you want to perform. 

```sh
{'fraction_non_alphanumeric': 0.11764705882352941, 'fraction_numerical': 0.007450980392156863, 'mean_word_length': 3.1145161290322583, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3765821', 'n_tokens_mistral': 967, 'n_tokens_neox': 898, 'n_words': 260}