Matergi / Translo

🌐 Translo provides open-source localization management that you can self-host
https://translo.app
1 stars 0 forks source link

Translo is a localization management platform, open-source, for building better products

Running Locally

  1. Install dependencies using pnpm:
pnpm install
  1. Copy .env.example to .env.local and update the variables.
cp .env.example .env.local
  1. Launch local db with docker daemon
docker-compose up -d
  1. Run migrations
pnpm prisma:migrate:dev
  1. Start the development server:
pnpm dev
  1. Commit:
git add .
pnpm run commit

Test stripe

  1. Install stripe cli:
brew install stripe/stripe-cli/stripe
  1. Login stripe:
stripe login
  1. Webhook listener:
pnpm run stripe:webhook

Update i18n

Set the base URL of Translo in the TRANSLO_I18N_BASE_URL environment

pnpm run i18n