Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for local test setup #22

Open
AOphagen opened this issue Feb 4, 2023 · 4 comments · May be fixed by #23
Open

Documentation for local test setup #22

AOphagen opened this issue Feb 4, 2023 · 4 comments · May be fixed by #23

Comments

@AOphagen
Copy link
Contributor

AOphagen commented Feb 4, 2023

Working with this code, I want to be able to set it up locally for the most basic smoke tests before rolling out any changes.

I'd like the README.md to contain a how-to for setting the code up in a development environment locally.
I'd also be happy with another solution, like mkdocs for developers, but that is not necessary, really.

I'll start to document any solution for a local set-up I come up with on my own, but even so, help would be greatly appreciated.

AOphagen added a commit that referenced this issue Feb 5, 2023
I just log what I try - so far, it does not build
@penguineer
Copy link
Member

Wir nutzen folgendes docker-compose file:

version: '3'

services:
  meshviewer:
    image: ffmd/meshviewer-server:latest
    container_name: ffmd_meshviewer_server
    restart: unless-stopped
    depends_on:
      - ffmd_yanic
    ports:
      - 8010:80
    environment:
      - MeshviewerRepo = "https://github.com/FreifunkMD/Meshviewer --branch ffmd"
      - LoopHookCMD = "wget http://gw01.babel.md.freifunk.net:8080/data/meshviewer.json -O /var/www/html/data/meshviewer.json"
  ffmd_yanic:
    image: ffmd/yanic:latest
    network_mode: "host"
    restart: unless-stopped
    container_name: ffmd_yanic
    volumes:
            - /opt/yanic/config.toml:/etc/yanic.conf

@AOphagen
Copy link
Contributor Author

AOphagen commented Feb 20, 2023

Das docker-compose basiert auf Images, die auf/unter ffmd/ gesucht werden. Damit beißt sich leider die Katze in den Schwanz, denn diese Images muss man ja auch bauen ... suche weiter ...

@penguineer
Copy link
Member

@AOphagen AOphagen linked a pull request Feb 20, 2023 that will close this issue
AOphagen pushed a commit that referenced this issue Feb 20, 2023
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 a pull request may close this issue.

3 participants