<commit_before># Sample PhraseApp showcase

Simple app for task tracking translated with PhraseApp.

# Setting up

Adapt the initializer in config/initializers/phrase.rb on line 7 to use your PhraseApp Project Auth Token or our demo account's credentials https://phraseapp.com/en/demo ( Auth Token: <PASSWORD> , User: <EMAIL> Password: <PASSWORD>).

As default this is set to our demo account.


<commit_msg>updated README for better setup instructions<commit_after># Sample application with PhraseApp integration

Simple todo app to show how to use with [PhraseApp In-Context-Editor](https://phraseapp.com).

## Installation

Follow these easy steps to install and start the app:

### Set up Rails app

First, install the gems required by the application:

    bundle
    
Next, execute the database migrations/schema setup:

	bundle exec rake db:setup

    
### Initialize PhraseApp

Use the Rails generator to add a `phrase.rb` initializer:

    bundle exec rails generate phrase:install --auth-token=<YOUR-SECRET>
    
If you don't have a [PhraseApp account](https://phraseapp.com/en/signup) yet, you can use the [demo account](https://phraseapp.com/demo) credentials to get started:

	bundle exec rails generate phrase:install --auth-token=<PASSWORD>

### Start the app

Start the Rails app to see the In-Context-Editor added to the To-Do application. You're ready to localize your app:

    bundle exec rails server
    
You can find your app now by pointing your browser to [http://localhost:3000](http://localhost:3000). If everything worked you can log into In-Context Editor with your PhraseApp user account or the demo login credentials: 

	User: <EMAIL>
	Password: <PASSWORD>

## So, what next?

In-Context-Editor is a great way to start translating your application. All translations you enter will be stored directly in [Translation Center](https://phraseapp.com/en/account/login), the backend software for all PhraseApp projects. Log in with your demo credentials to see all possibilities for your new translation management: [Translation Center](https://phraseapp.com/en/account/login)

Want to know more? Check our [documentation](https://phraseapp.com/docs)!

## More information

* [Read the PhraseApp documentation](https://phraseapp.com/docs)
* [Get your free PhraseApp trial](https://phraseapp.com/signup)
* [Get in touch with the engineers](http://support.phraseapp.com/)

{'fraction_non_alphanumeric': 0.08643006263048017, 'fraction_numerical': 0.0037578288100208767, 'mean_word_length': 4.508045977011494, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 9, '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': '4452472', 'n_tokens_mistral': 668, 'n_tokens_neox': 631, 'n_words': 281}