Setup

flask-djangofy is very easy to setup. You will need to perform following steps and you will be ready to go.

Step # 1: Installation

Install it by running below command.

pip install flask-djangofy

Step # 2: Create Project

Run following command to create your project

flask-djangofy-admin startproject YOUR_PROJECT_NAME

Step # 3: Create Apps

Run following command to create app

python manage.py startapp YOUR_APP_NAME

You will need to add app in INSTALLED_APPS in YOUR_PROJECT_NAME/settings.py just like Django.

Step # 4: Write Views/URLs

Write your views and urls.

Step # 5: Run Server

Run development server by running following command

python manage.py runserver