Coder Social home page Coder Social logo

amoogli-blog-v1.0's Introduction

blog

migrate database: connect database in database.py python models.py db init python models.py db migrate python models.py db upgrade

#git clone [email protected]:flask-admin/flask-admin.git //pip install flask-restful ############################################ pip install flaskckeditor sudo pip install slugify python models.py db init sudo pip install flask_sijax sudo pip install flask_restful

#migrate database: python models.py db init python models.py db migrate python models.py db upgrade

#admin: sudo pip install passlib sudo pip install flask_httpauth

sudo pip install flask_mail

############################################

Url to learn: http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xviii-deployment-on-the-heroku-cloud

ckeditor: https://github.com/Still-not-satisfied-projects/flask-ckeditor/tree/master/examples/app +LOGIN: http://codereview.stackexchange.com/questions/110679/simple-login-system-using-python-flask-and-mysql +password encrypt: http://blog.miguelgrinberg.com/post/restful-authentication-with-flask

NOTE (must delete after it works): from .forms import CKEditorForm

@app.route('/ckupload/', methods=['POST', 'OPTIONS'])
def ckupload():
    """file/img upload interface"""
    form = CKEditorForm()
    response = form.upload(endpoint=app)
    return response

URL: http://flask.pocoo.org/snippets/85/

amoogli-blog-v1.0's People

Contributors

rithythul avatar

Watchers

Kimsan San avatar

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.