Skip to content

Conversation

maurerle
Copy link
Member

Description

This adds simple testing capabilities with docker using docker compose

How Has This Been Tested?

docker compose build
docker compose up -d
docker compose down

Screenshots/links:

Checklist:

  • My code follows the code style of this project. (CI will test it anyway and also needs approval)
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.

Copy link
Member Author

@maurerle maurerle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add docs to this

# Project files
/node_modules
/build
/config.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should really stay here, shouldn't it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The public/config.json is the one which is copied to build/config.json during build - so there is no use for /config.json (except for causing confusion)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For FreifunkMUC this is copied after build into the build folder:
https://github.com/freifunkMUC/meshviewer/blob/main/.github/workflows/deploy.yaml#L23

So this change should be fine.

@GoliathLabs
Copy link
Contributor

Somewhat related: I've suggested some changes to the Dockerfile, such as removing npm audit, as this should be in a separate dev environment rather than in the Dockerfile itself: #196

@maurerle maurerle force-pushed the compose_file branch 3 times, most recently from 28525b5 to 4a0b084 Compare August 1, 2025 19:36
docker compose build
docker compose up -d
docker compose down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants