Your complement to bouldering guides. Check the beta provided by MadBoulder. Powered by Flask and Folium, with a little help from Flask-Caching.
You can check it at: https://madboulder.org
Main Page
Zones Map
Sector Map
This project complements MadBoulder's beta video library and makes it easier to navigate through the available information. It is NOT a topo guide of bouldering areas and has no intention of becoming so. It is intended to be used along the bouldering guides of each area and its main goal is to simplify and ease the process of finding beta for specific problems.
If you have any beta recorded feel free to drop it at https://madboulder.org/upload
You can visit the page at: https://madboulder.org
To build the project locally follow the next steps:
$ pip install -r /path/to/requirements.txt
) WARNING: There are several dependencies no longer required that are still present in the requirements file.$ git clone https://github.com/MadBoulder/BetaLibrary.git
cd
to BetaLibrary
and run $ python generate_templates.py
and $ python generate_pages.py
. Additionally, to update the video database with new videos added to the channel, run $ python get_channel_data.py
.$ python application.py
and visit http://127.0.0.1:5000/
Check the wiki for more information.
Documentation: https://pythonhosted.org/Flask-Babel/
config.py
and add the desired language locale to the LANGUAGES
list.$ pybabel init -i messages.pot -d translations -l [LOCALE]
, where [LOCALE]
should be replaced by the new locale.To extract all the texts that are to be translated to the .pot
file use the following command:
$ pybabel extract -F babel.cfg -k _l -o messages.pot .
To update all catalogs with the latest set of messages:
$ pybabel update -i messages.pot -d translations
After all translations have been added or updated in the respective .po
files (found under translations/[LOCALE]/LC_MESSAGES/messages.po
), to make the changes effective the translations have to be recompiled. This is achieved with the following command: $ pybabel compile -d translations