Skip to content

Commit

Permalink
little steps
Browse files Browse the repository at this point in the history
  • Loading branch information
eelcofolkertsma authored Mar 18, 2024
1 parent b48895b commit 94eb523
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ If you have Docker installed, you can also create a container to run the develop
```bash
docker compose up
```
[Its usage is explained here](./docs/docker/usage.md)
Its usage is explained [here](./docs/docker/usage.md)

> For more information on how to install AsyncAPI CLI, you can review [CLI installation documentation](https://www.asyncapi.com/docs/tools/cli/installation)
Expand Down
19 changes: 18 additions & 1 deletion docs/docker/usage.md
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
How to use the docker-compose file to launch Glee
# Issues in developing the functionality
## Concept
- Build image on base async/cli dressed up with python and .gyp
- Spawn glee project
- Install the project
- File the image
- Run container from this image where glee project is bound to local file system and run Glee

## Issues
- When you delete glee project in local file, this is somehow remembered. Glee project does not come back at next "docker compose up"
- When you locally change a file in glee project, server is not aware. You can "kick the server"e.g. with local chown but that is strange workaround


## Way forward
- improve my understanding of docker (but both two issues relate to how binding works. And that is very tricky stuff with big risk to go into platform dependent approaches)
- explore devcontainer

Devcontainer (github codespaces; codesandbox) looks quite interesting. But be careful. The solution only has to be "more simple" than maintaining a proper local development environment.

0 comments on commit 94eb523

Please sign in to comment.