/flask_redis

flask_redis docker

Primary LanguageHTML

description title
this is a multi-container web app using FLASK and redis build with MIGHTY docker-compose
very basic multi-container web app

How to Git Commit like a PRO!

  • This repo following the best practices for git commit as per what Linus would like
  • There are two Git global config options needs to be configured in order to maintain the Git Commit
 git config --list --show-orgin # this is to show the current configured options
 git config --global core.editor vim
 git config --global commit.template ~/.commit_template
 vim ~/.commit_template # to start typing your template
  • A good example for the commit body would be like this
# If applied, this commit will...
# [Add/Fix/Remove/Update/Refactor/Document] [issue #id] [summary]


# Why is it necessary? (Bug fix, feature, improvements?)
-
# How does the change address the issue? 
-
# What side effects does this change have?
-

Installation

  • fork the project
git clone https://github.com/ahaffar/flask_redis.git
  • install dcoker compose

1- sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

2- chmod +x /usr/local/bin/docker-compose

  • run docker compose
docker-compose up