<commit_before># cnddh-human-rights
This application was created for Human Rights Center in Brazil for reporting violations against people that live in streets

* How do I get set up? Set up Install python 2.7. Create a virtualenv. After you need install the following packages: Flask, MySQL-python, SQLAlchemy, WTForms.

* Database configuration:  Create a database on mysql, change the string DATABASE_URI on config.py editing for mysql://[user]:[password]localhost/[name fo database]' After that just type python create_tables.py on command line.

* Configuration: Just type python runserver.py on command line.

* Dependencies: Flask-Login, Flask-SQLAlchemy, Flask-Uploads and WTForms-Components.

* How to run tests: Log in using user/password <PASSWORD> and test

* Deployment instructions: If you are using mercurial: type hg archive [local], zip and copy to server. 

* Contribution guidelines: Create responsive layout for mobile and tablets, Update semantic Ui and reports

* Who do I talk to? Repo owner or admin <EMAIL> ou <EMAIL>
<commit_msg>Information about how install mysqllibs in linux<commit_after># cnddh-human-rights
This application was created for Human Rights Center in Brazil for reporting violations against people that live in streets

* How do I get set up? Set up Install python 2.7. Create a virtualenv. After you need install the following packages: Flask, MySQL-python, SQLAlchemy, WTForms.

* Database configuration:  Create a database on mysql, change the string DATABASE_URI on config.py editing for mysql://[user]:[password]localhost/[name fo database]' After that just type python create_tables.py on command line.

* Configuration: Just type python runserver.py on command line.

* Dependencies: Flask-Login, Flask-SQLAlchemy, Flask-Uploads and WTForms-Components.

* How to run tests: Log in using user/password <PASSWORD>/x<PASSWORD> and test

* Deployment instructions: If you are using mercurial: type hg archive [local], zip and copy to server. 

* Contribution guidelines: Create responsive layout for mobile and tablets, Update semantic Ui and reports

* Who do I talk to? Repo owner or admin <EMAIL> ou <EMAIL>



## Instalation

### Linux
For install mysql need some libs:

sudo apt-get install mysql-server
sudo apt-get install libmysqlclient-dev

{'fraction_non_alphanumeric': 0.06579520697167757, 'fraction_numerical': 0.0017429193899782135, 'mean_word_length': 4.812658227848101, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '30885', 'n_tokens_mistral': 641, 'n_tokens_neox': 604, 'n_words': 302}