Skip to content
/ ship-template Public template

A toolkit for makers to ship better products faster ๐Ÿš€

Notifications You must be signed in to change notification settings

paralect/ship-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

67 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Prerequisites

This project requires specific versions of Node.js and pnpm. Please check the engines and packageManager fields in package.json for the required versions.

Node.js

If you're using nvm, you can automatically switch to the correct Node.js version by running:

nvm use

This will read the version from the .nvmrc file and switch to it automatically.

pnpm

If you have Corepack enabled (included with Node.js 16.10+), pnpm will automatically use the version specified in the packageManager field of package.json. You can enable Corepack by running:

corepack enable

Starting Application with Turborepo ๐Ÿš€

To run the infrastructure and all services -- just run:

pnpm start

Running Infra and Services Separately with Turborepo

  1. Start base infrastructure services in Docker containers:
    pnpm run infra
  2. Run the services with Turborepo:
    pnpm run turbo-start

Using Ship with Docker

To run the infrastructure and all services, execute:

pnpm run docker

Running Infra and Services Separately with Docker

  1. Start base infrastructure services in Docker containers:
    pnpm run infra
  2. Run the services you need:
    ./bin/start.sh api web

You can also run infrastructure services separately using the ./bin/start.sh bash script.