Code Monkey home page Code Monkey logo

kontent-sample-app-flask's Introduction

Build & Test Live Demo

Kentico Kontent sample Flask application

This is a sample Flask app that uses the Kentico Kontent Python SDK to retrieve content from Kentico Kontent.

This application uses the shared Dancing Goat sample project within Kentico Kontent. If you don't have your own Sample Project, any administrator of a Kentico Kontent subscription can generate one.

If you find a bug in the sample or have a feature request, please submit a GitHub issue.

Table of Contents

Getting started

We recommend running this sample application using virtual environment tooling such as virtualenv.

To run the application:

  1. Clone the app repository with your favorite GIT client
  2. Add your Kontent Project ID key to config.py in the project root - detailed instructions available below
  3. Install the project dependencies: pip install -r requirements.txt
  4. Set the FLASK_APP environment variable: set FLASK_APP=sample
  5. Install the application using pip install -e . (including the period)
  6. Run the application: flask run

Connecting to your Sample Project

If you already have a Kentico Kontent account, you can connect this application to your version of the Sample project.

  1. In Kentico Kontent, choose Project settings from the app menu
  2. Under Development, choose API keys and copy the Project ID
  3. Open the config.py file
  4. Use the values from your Kentico Kontent project as the project_id value
  5. Save the changes

kontent-sample-app-flask's People

Contributors

kentico-michaelb avatar

Watchers

 avatar  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.