Skip to content

Layr-Labs/ecloud-inference-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example-app

Development

Setup & Local Testing

npm install
cp .env.example .env
npm run dev

Docker Testing

docker build -t my-app .
docker run --rm --env-file .env my-app

Prerequisites

Before deploying, you'll need:

  • Docker - To package and publish your application image
  • ETH - To pay for deployment transactions

Deployment

ecloud compute app deploy

The CLI will automatically detect the Dockerfile and build your app before deploying.

Management & Monitoring

  1. Run ecloud compute app logs -w
  2. Select your app
  3. Wait for logs to see example prompt and response
ecloud compute app list                    # List all apps
ecloud compute app info [app-name]         # Get app details
ecloud compute app logs [app-name]         # View logs
ecloud compute app start [app-name]        # Start stopped app
ecloud compute app stop [app-name]         # Stop running app
ecloud compute app terminate [app-name]    # Terminate app
ecloud compute app upgrade [app-name] [image] # Update deployment

About

Example elcoud inference app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors