title: Setting up static folder path in Flask
body: <p>Seems like my static files aren't being served properly. This is what it looks like right now:</p>
  
  <pre><code>myApp
      __init__.py
      static
         img
         js
           bootstrap.min.js
         etc.
  </code></pre>
  
  <p>This is what my app config in my <code>__init__.py</code> looks like:</p>
  
  <pre><code>app = Flask(__name__, static_url_path="", static_folder="static")
  </code></pre>
  
  <p>This is the error:</p>
  
  <pre><code>127.0.0.1 - - [01/Dec/2014 13:12:01] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 -
  </code></pre>
  
  <p>As far as the url routing goes, no problems there, localhost/home routes to home, localhost/contact routes to contact, etc. But static files aren't being found :( Am I missing something?</p>
  
  <p>NOTE: I'm hosting this on my Mac, purely local host</p>
  
  <p>This is my <code>__init__.py</code> main method:</p>
  
  <pre><code>if __name__ == "__main__":
      app.run(host='0.0.0.0', debug=True)
  </code></pre>
  
  <p>Running as:</p>
  
  <pre><code>python __init.py__
  </code></pre>