Skip to content

Commit

Permalink
update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
pomm0 committed Aug 29, 2024
1 parent 66a22c2 commit 22108d2
Show file tree
Hide file tree
Showing 15 changed files with 17,369 additions and 74 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ Deployed on https://cv.mgruber.dev

## Inside docker

Even this app only uses one service I use `docker-compose`. I like the simplesness of just calling `docker-compose up -d`.
Even this app only uses one service I use `docker-compose`. I like the simplicity of just calling `docker-compose up -d`.

- Start docker-compose with `docker-compose up` or `docker-compose up -d` (deamon mode)
- Wait for server ready (it will install dependencies which may take a bit)
- Wait for server ready. To track node logs use `docker-compose logs -f client`.
- Go to `http://localhost:3000`

OR

Execute `docker-compose run client bash` and you will land in the clients docker container and you can start the app manually `npm install && npm run start`

## Run tests

- Install npm dependencies: `npm install`
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ version: '3.8'

services:
client:
image: node:lts-slim
image: node:lts-stretch-slim
ports:
# Needed for app
- 3000:3000
# Needed for firebase
- 9005:9005
Expand Down
Loading

0 comments on commit 22108d2

Please sign in to comment.