Generate my own database

Learn how to generate your own Remède database !

Please read Lifecycle before.

See also Quickly add a word.

0 - Generate required ressources

python3 scripts/pre_generate_ressources.py

1 - Start parsing words

  1. Start api-definition in local
  2. Start parse.py
    python3 scripts/parse.py
    

    This operation take few days !

[!NOTE] You can select letters to parse using an argument : python3 scripts/parse.py --letters a,b,c,d,e

With this method you can run multiple parse scripts at the same time.

2 - Generate the Sqlite database

python3 generate_sqlite.py

3 - Generate the search index

python3 generate_index.py

4 - Add the rimes dictionary

python3 build_rimes.py

5 - Enjoy your own database !

The database situated at data/remede.db has been generated successfully, and you can now serve it with the API ! Congratulations !