Python - Image Search App

A demo using Schematic to implement packaging in an application. The Github repo is here and can be cloned to run locally.

This app is an image search engine using the Flickr API. It:

The Billy app also uses Schematic to manage all entitlements, and you’ll seed your very own Schematic account to power your version of the Billy app.

Getting started with the Billy app

  1. Clone the repo:
git clone https://github.com/SchematicHQ/billy-python.git
  1. Create and activate a virtualenv in the directory
python3 -m venv venv
. venv/bin/activate
  1. Install all requirements:
pip install -r requirements.txt
npm install

npm is used as a task runner and to support TailwindCSS.

  1. Initialize the .env file by copying the example file:
cp .env.example .env
  1. Populate your .env file

Getting started with the Schematic app

  1. Log into your Schematic account
  2. Run the following to seed your Schematic environment with flags, features, and plans for Billy (make sure your .env file has a valid Schematic API key first):
npm run populate-schematic
  1. Run the Billy app locally

Running locally

Run the following command:

npm start run

Open the app locally at http://127.0.0.1:5000/. Create an account on the sign up page and log in.

Next steps

Once you log in, Schematic will register the company and user and assign access appropriately. You can also now use Schematic to manage plans, limits, and entitlements for anyone you register with Billy.

To see how Schematic is integrated into the Billy app to manage features and plans, go here.

To read more about how to use the Schematic app, go here.

Resources