0.1.19 • Published 8 months ago

@mastra/core v0.1.19

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Future

This is a guide to developing the core package.

Ensure Docker is Installed

If you haven't already, install Docker: (Docker Installation)https://www.docker.com/

Start Docker Containers

  1. Navigate to the .dev directory:cd .dev
  2. Start the Docker containers: docker-compose up -d

This command will spin up the necessary services, including the database and the Inngest server.

Setup Environment Variables

  1. Copy the sample environment variable files: packages/admin/.env.local.sample packages/core/.env.local.sample
  2. Duplicate and rename each .env.local.sample file to .env: cp packages/admin/.env.local.sample packages/admin/.envcp packages/core/.env.local.sample packages/core/.env

Note: We won’t need to do this again after the first setup if the CLI persists credentials.

Install Dependencies for Core Package

  1. Navigate to the core directory:cd packages/core
  2. Install the dependencies:pnpm install

Build and Initialize CLI

  1. Navigate to the cli directory:cd packages/cli
  2. Build the project and run the initialization script:pnpm run build && node dist/index.js init
  3. When prompted, supply the necessary credentials:

Database URL: postgresql://postgres:postgres@localhost:5432/postgres Inngest Server URL: http://localhost:8288

0.1.19

8 months ago

0.1.14

8 months ago

0.1.15

8 months ago

0.1.16

8 months ago

0.1.17

8 months ago

0.1.18

8 months ago

0.1.13

8 months ago

0.1.12

8 months ago

0.1.10

9 months ago

0.1.11

9 months ago

0.1.8

9 months ago

0.1.7

9 months ago

0.1.9

9 months ago

0.1.6

9 months ago

0.1.5

9 months ago

0.1.4

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago