mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-10 04:22:27 +10:00
32 lines
640 B
YAML
32 lines
640 B
YAML
tasks:
|
|
- name: Run PostgreSQL Database
|
|
command: docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=postgres -d postgres
|
|
|
|
- name: Generate Environment Variables
|
|
command: |
|
|
if [ -f .env ]; then
|
|
echo "Found .env in workspace, skipping generation"
|
|
else
|
|
pnpm generate-env
|
|
fi
|
|
|
|
- name: Install Project Dependencies
|
|
command: |
|
|
npx playwright install-deps
|
|
pnpm install
|
|
|
|
ports:
|
|
# PostgreSQL
|
|
- port: 5432
|
|
visibility: private
|
|
|
|
# Client
|
|
- port: 3100
|
|
visibility: public
|
|
onOpen: ignore
|
|
|
|
# Client
|
|
- port: 3000
|
|
visibility: public
|
|
onOpen: open-browser
|