You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting/maintaining a fully functional node environment on local machine can be overwhelming and hard to debug. A container is much easier to deploy/manage
How will this change help?
The prerequisite effort to install Docker or equivalent is shared over many projects.
On download of the compose.yaml a simple "docker compose up" launches the Glee server with default settings. From there you can modify the Glee files and stop/restart the Glee server to explore all features of Glee
No need to worry about install of node, .gyp, python etc
Screenshots
No response
How could it be implemented/designed?
A (docker) compose.yaml that pulls asyncapi/cli image, runs new glee, npm install, npm run dev commands and attaches to local filesystem.
A refinement of below yaml
get away from USER root
.gyp and python to be included in cli image
improve naming of directory in local file system
smart permissions on directory in local file system
documentation on usage
version: '3'
services:
glee:
build:
context: .
dockerfile_inline: |
FROM asyncapi/cli
USER root
RUN apk add --no-cache --virtual .gyp python3 make g++ && \
rm -rf /var/lib/apt/lists/* && \
asyncapi new glee && \
cd project && \
npm install
ENTRYPOINT
volumes:
- ${PWD}/output:/app
networks:
- default
user: root
entrypoint: []
working_dir: /app/project
command: npm run dev
networks:
default: {}
Why do we need this improvement?
Setting/maintaining a fully functional node environment on local machine can be overwhelming and hard to debug. A container is much easier to deploy/manage
How will this change help?
The prerequisite effort to install Docker or equivalent is shared over many projects.
On download of the compose.yaml a simple "docker compose up" launches the Glee server with default settings. From there you can modify the Glee files and stop/restart the Glee server to explore all features of Glee
No need to worry about install of node, .gyp, python etc
Screenshots
No response
How could it be implemented/designed?
A (docker) compose.yaml that pulls asyncapi/cli image, runs new glee, npm install, npm run dev commands and attaches to local filesystem.
A refinement of below yaml
🚧 Breaking changes
No
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: