<commit_before>API Application for camptocamp.org v6
=====================================

Checkout
--------

    git clone https://github.com/c2corg/v6_api.git

Build
-----

    cd v6_api
    make -f config/{user} install

To set up the database
----------------------

    psql
    create database c2corg_{user} owner "www-data";
    \c c2corg_{user}_tests
    create extension postgis;
    create schema topoguide authorization "www-data";
    \q
    .build/venv/bin/initialize_app_api_db development.ini
<commit_msg>Wrong DB name in README<commit_after>API Application for camptocamp.org v6
=====================================

Checkout
--------

    git clone https://github.com/c2corg/v6_api.git

Build
-----

    cd v6_api
    make -f config/{user} install

To set up the database
----------------------

    psql
    create database c2corg_{user} owner "www-data";
    \c c2corg_{user}
    create extension postgis;
    create schema topoguide authorization "www-data";
    \q
    .build/venv/bin/initialize_app_api_db development.ini

{'fraction_non_alphanumeric': 0.2045889101338432, 'fraction_numerical': 0.011472275334608031, 'mean_word_length': 2.597938144329897, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '1807714', 'n_tokens_mistral': 338, 'n_tokens_neox': 323, 'n_words': 84}