Prerequisites

To use all features of Morph, the following environment is required.

If these setups are not completed, Morph’s CLI and framework may not function properly.

Installing Morph

1

Install morph using pip

Shell
pip install morph-data
2

Create a Morph Project

Use the morph new command to create a Morph project.

Shell
morph new morph-starter-app
3

Start the Morph Development Server

Use the morph serve command to start the Morph development server.

Shell
cd morph-starter-app
morph serve
4

Open the App in the Browser

Access localhost:8080 to open the app.

5

Build the App using SQL, Python, and MDX

Up to this point, you have started the basic development server. Let’s build the app using SQL, Python, and MDX!

Editor (VS Code) Setup

MDX files used in the Morph frontend can have syntax highlighting and code completion by installing the VSCode extension.

https://marketplace.visualstudio.com/items?itemName=unifiedjs.vscode-mdx