Mozilla Backstage App
Install and run Postgres from docker:
docker run -e POSTGRES_PASSWORD=secret -p 5432:5432 postgres:15
Set environment variables for postgres (or use .env
file):
cp .env.sample .env
export POSTGRES_HOST=localhost
export POSTGRES_PORT=5432
export POSTGRES_USER=postgres
export POSTGRES_PASSWORD=secret
To start the app, run:
nvm use
yarn install
yarn dev
If using a .env
file for the environment variables:
npm install -g dotenv-cli (if you don't have dotenv installed already)
dotenv -- yarn dev