October 29, 2018

October 29, 2018

Here is an example of running a flask app in docker.
Write the Dockerfile # Use an official Python runtime as a parent image FROM python:2.7-slim # Set the working directory to /app WORKDIR /app # Copy the current directory contents into the container at /app COPY . /app # Install any needed packages specified in requirements.txt RUN pip install --trusted-host pypi.python.org -r requirements.txt # Make port 80 available to the world outside this container EXPOSE 80 # Define environment variable ENV NAME World # Run app.
Read more

September 5, 2018

Why write the docs You will be using your code in 6 months You all know why!!!
If only I had written down why I had done this, life would be much simpler.
– someone
Documentation allows you to transfer the why behind code. Much in the same way code comments explain the why, and not the how, documentation serves the same purpose.
You want people to use your code You released your code into world, and thought that others might use it.
Read more

August 24, 2018

Insert Lead paragraph here.
Hello World Markdown Markdown is a text formatting syntax inspired on plain text email. In the words of its creator, John Gruber:
The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions.
Syntax Guide Strong and Emphasize *emphasize* **strong** _emphasize_ __strong__ Shortcuts
Add/remove bold: ⌘-B for Mac / Ctrl-B for Windows and Linux
Read more