Giter Club home page Giter Club logo

flask-foundation's Introduction

Flask Foundation

Build Status

There is a cookiecutter version of this repo at https://github.com/JackStouffer/cookiecutter-Flask-Foundation.

Documentation is located at https://jackstouffer.com/flask-foundation/

Flask Foundation is a solid foundation for flask applications, built with best practices, that you can easily construct your website/webapp off of. Flask Foundation is different from most Flask frameworks as it does not assume anything about your development or production environments. Flask Foundation is platform agnostic in this respect.

Built off of the bootstrapy project

Best practices were learned from:

License

Flask-Foundation is licensed under the BSD license. For more info see LICENSE.md

Want to learn more about Flask?

I also wrote a book on Flask! You can order it here.

flask-foundation's People

Contributors

bryant1410 avatar jackstouffer avatar jstacoder avatar kirang89 avatar rotated8 avatar sumukh avatar ufo22940268 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flask-foundation's Issues

Perhaps Flask-Assets should be removed

I am looking for flask skeleton that could accelerate the development of flask webpage or webapp. There are two candidate, one is Flask-Foundation, the other is overholt. Both of them use flask-assets for assets bundle. But I think that the frontend tasks should be done with frontend toolchains. So I think that flask-assets should be removed and add npm package.json which contains gulp/webpack or something else.

Production server

I have used Flask-Foundation. I would like to create a production server. I searched for a tutorial but I found tutorials for simple Flask apps that don't use the Flask-Script extension. Do you know of any tutorial that I can follow?

How to best integrate Flask-SocketIO

Can you give any recommendation for the best way to integrate Flask-SocketIO into the Flask-Foundation structure?

In manage.py, I added socketio = SocketIO(app), then I created a new Flask-Script command to run socketio.run(app) instead of the built-in debug server.

However, now I'm unsure how to import/access socketio from another file so that I can use @socketio.on('message') and socketio.start_background_task(). Is there a better place than manage.py for me to create socketio = SocketIO(app)?

SCSS Missing?

So I'm trying to load some example templates using foundation docs for my Python flask app and noticed that it wasn't looking the same.
Then found that it looks like I'm missing any SCSS in the installed module which from my understanding is what foundation is built on.
One example is that callouts just render with the text with no border or other styling as exampled in the docs.
Am I meant to import this another way, or is there something else I'm missing with this one?

I can provide more info or pictures if needed.
Thanks.

manage.py incorrect call of create_app

From a fresh clone:

$ ./manage.py 
Traceback (most recent call last):
  File "./manage.py", line 13, in <module>
    app = create_app('appname.settings.%sConfig' % env.capitalize(), env=env)
TypeError: create_app() got an unexpected keyword argument 'env'

Expired Cert

This may be the wrong forum for this report, but the docs this repo links to force-redirect to HTTPS with an expired Lets Encrypt cert. Chrome gives very scary warnings about your website.

modernizr missing

Thanks for a great template.

modernizr lib isn't actually included in your repo but the pages reference it. From what I understand you have to go to the modernizr website and build it for the features you need to check for. Is there a reason it's referenced but nothing is in static/js/vendor ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.