Skip to content

Commit

Permalink
Refactor, drop g11n, add ci, bump angular version and minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuj committed Jan 24, 2025
1 parent eb8f448 commit 22498aa
Show file tree
Hide file tree
Showing 61 changed files with 17,466 additions and 13,060 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Node.js CI
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install dependencies
run: npm ci
- run: npm run build
7 changes: 2 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"cSpell.language": "ca,en",
"cSpell.words": [
"insternacionalització"
]
}
"cSpell.language": "ca,en"
}
Binary file added Enunciat_PAC1_cat-1.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[![Node.js CI](https://github.com/rbuj-UOC/M4.256-PAC1/actions/workflows/node.js.yml/badge.svg)](https://github.com/rbuj-UOC/M4.256-PAC1/actions/workflows/node.js.yml)
# PAC 1

# Prerequisits
- Instal·lar i executar [Docker Desktop](https://www.docker.com/products/docker-desktop/)
- Instal·lar [Node.js 18](https://nodejs.org/en/download/package-manager/current)
- Instal·lar [Node.js 20](https://nodejs.org/en/download/package-manager/current)
- Instal·lar [Angular](https://angular.dev/tools/cli/setup-local)

# backend
Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18
FROM node:20-alpine

WORKDIR /app

Expand Down
4 changes: 1 addition & 3 deletions backend/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
db:
image: postgres
image: postgres:alpine
restart: always
environment:
- POSTGRES_PASSWORD=root
Expand All @@ -13,8 +13,6 @@ services:
build:
context: .
dockerfile: Dockerfile
environment:
- PORT=${PORT}
ports:
- '3000:3000'
depends_on:
Expand Down
Loading

0 comments on commit 22498aa

Please sign in to comment.