Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Note: This assumes that you have an open terminal in this directory (/example):

To set up this examples project:

  1. rename the file env.example to .env
mv env.example .env
  1. fill the .env file with your replicate API key:
REPLICATE_API_KEY=<YOUR_API_KEY>
  1. run:
# get packages
dart pub get

# loads your .env file and generates the env.g.dart at lib/env/env.g.dart
dart run build_runner build
  1. run the examples:
# run the example
dart run lib/<example_file_name>