FGFRANCIS GITHAEinfrankeffect.hashnode.dev·Nov 14, 2024 · 2 min readRedis serviceIf you build Redis from source and install it manually, by default it is installed to /usr/local/bin, which is typically included in your system’s PATH. This means you should be able to start it from anywhere using commands like redis-server and redi...00
FGFRANCIS GITHAEinfrankeffect.hashnode.dev·Oct 20, 2024 · 1 min readResolve postgres collation MismatchI encountered this issue after upgrading from fedora 38 to 40 WARNING: database "template1" has a collation version mismatch DETAIL: The database was created using collation version 2.37, but the operating system provides version 2.39. Solution ...00
FGFRANCIS GITHAEinfrankeffect.hashnode.dev·Oct 20, 2024 · 1 min readTune Timescale db Fedora /postgresissue tuning timescale db in fedora install postgres dev tools yum install postgresql-devel get location of pg_config which pg_config run the tune command sudo timescaledb-tune --pg-config=/usr/bin/pg_config --conf-path=/var/lib/pgsql/data/postgr...00
FGFRANCIS GITHAEinfrankeffect.hashnode.dev·Jul 13, 2022 · 1 min readPython DocstringsThere are two common styles for writing python docstrings: Sphinx def hello(name, language="en"): """Say hello to a person. :param name: the name of the person :type name: str :param language: the language in which the person should be greeted :...00
FGFRANCIS GITHAEinfrankeffect.hashnode.dev·Feb 8, 2022 · 2 min readDeploy Flask, psql & SQLAlchemy app to HerokuDeploy Flask Application to Heroku 1 Install Gunicorn python3 -m pip install gunicorn 2 Export dependencies to requirements.txt pip freeze > requirements.txt 3 Create a Procfile Add the file to be run by heroku. In this case the manage.py file is ...00