<commit_before>App-Tracker
======
App-Tracker is a basic traffic tracking gem. The idea building the gem was to create a system where one can log and evaluate the traffic coming to the website according to the needs. One can analyze the recorded data by having a look at graphs and charts. User can also view the distribution of user according to the regions.

Below are instruction to setup your application:

Prerequisites
-------------
* Ruby 1.9 or higher
* Ruby on Rails 3.1.3 or higher


Getting Started
---------------
App-Tracker is a mountable engine created in rails 3.1.3 environment. It can be integrated to any rails application > 3.1.3. The dashboard can be seen only by the admin.

Below are instruction to setup survey in your application:

 Add the survey gem to your Gemfile:
```ruby
gem 'app-tracker', :git => 'git://github.com/mindfire-solutions/app-tracker'
```

* Run the bundler.
```console
bundle install
```
* Install the gem by running following command in the terminal
```console
rails generate app_tracker:install
```

* Run the migrations.
```console
rake  db:migrate
```

* Add before_filter according to neeed to controllers or action that you want to monitor.
```ruby
before_filter :request_tracker
```
  
* You can view dashboard at
```ruby
http://yourwebsiteurl.com/logs
```

*Dashboard is by default protected by
```ruby
username : admin
password : password
```

*That's it you are ready to track and view stats!!.. :).<commit_msg>minor chnage readme file<commit_after>App-Tracker
======
App-Tracker is a basic traffic tracking gem. The idea building the gem was to create a system where one can log and evaluate the traffic coming to the website according to the needs. One can analyze the recorded data by having a look at graphs and charts. User can also view the distribution of user according to the regions.

Below are instruction to setup your application:

Prerequisites
-------------
* Ruby 1.9 or higher
* Ruby on Rails 3.1.3 or higher


Getting Started
---------------
App-Tracker is a mountable engine created in rails 3.1.3 environment. It can be integrated to any rails application > 3.1.3. The dashboard can be seen only by the admin.

Below are instruction to setup survey in your application:

 Add the survey gem to your Gemfile:
```ruby
gem 'app-tracker', :git => 'git://github.com/mindfire-solutions/app-tracker'
```

* Run the bundler.
```console
bundle install
```
* Install the gem by running following command in the terminal
```console
rails generate app_tracker:install
```

* Run the migrations.
```console
rake  db:migrate
```

* Add before_filter according to neeed to controllers or action that you want to monitor.
```ruby
before_filter :request_tracker
```
  
* You can view dashboard at
```ruby
http://yourwebsiteurl.com/logs
```

* Dashboard is by default protected by
```ruby
username : admin
password : password
```

* That's it you are ready to track and view stats!!.. :).
{'fraction_non_alphanumeric': 0.099830220713073, 'fraction_numerical': 0.007470288624787776, 'mean_word_length': 3.8613861386138613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6283542', 'n_tokens_mistral': 851, 'n_tokens_neox': 779, 'n_words': 403}