deployment setup #72

Open
opened 2 years ago by utopiah · 9 comments
Owner

Entire setup allow at minima :

  • static frontend accessible from a single device

optionally :

Could be done with docker-compose but ideally rootless (e.g podman) in order to run on a standalone device like the Quest (seems impossible for now, cf https://github.com/termux/termux-packages/issues/10188 ).

Dockerfile for NAF :

from node:16-alpine
WORKDIR /app
COPY . .
RUN npm i
CMD npm run dev
Entire setup allow at minima : - static frontend accessible from a single device optionally : - offline mode to work flying or during workshops without connectivity (see https://github.com/aframevr/aframe/commit/d56b57071c46599083fe438736132298a58de1af ) - backend to save data (e.g to PIM) see https://git.benetou.fr/utopiah/text-code-xr-engine/issues/40 and https://git.benetou.fr/utopiah/text-code-xr-engine/issues/44 - backend for networking (NAF, see own `Dockerfile` below) - backend for federation (Immers, see https://github.com/immers-space/immers-app/blob/main/immers-hubs/docker-compose.yml ) - backend for file based shared (WebDAV, see `bfren/nginx-webdav`) Could be done with docker-compose but ideally rootless (e.g podman) in order to run on a standalone device like the Quest (seems impossible for now, cf https://github.com/termux/termux-packages/issues/10188 ). Dockerfile for NAF : ``` from node:16-alpine WORKDIR /app COPY . . RUN npm i CMD npm run dev ```
utopiah added the
demo
label 2 years ago
Poster
Owner

For now relying this live instance is relying on a frontend hosted on lighttpd (for PmWiki) to static hosting

and for backend

  • PmWiki (lighttpd with a PHP container)

backend federation and networking

behind a nginx reverse proxy.

For now relying this live instance is relying on a frontend hosted on lighttpd (for PmWiki) to static hosting and for backend - PmWiki (lighttpd with a PHP container) backend federation and networking - https://immers.benetou.fr - https://naf.benetou.fr behind a nginx reverse proxy.
Poster
Owner

Provide a cloud-init file to facilitate deployment on most cloud providers.

Provide a cloud-init file to facilitate deployment on most cloud providers.
Poster
Owner

Consider also how it could be "just" a component #65 to use with other, existing or brand new, projects.

Consider also how it could be "just" a component https://git.benetou.fr/utopiah/text-code-xr-engine/issues/65 to use with other, existing or brand new, projects.
Poster
Owner

Consider online environments featuring also backends, e.g Gitpod via its .gitpod.yml file but also since today CodeSandBox via a Dockerfile in .codesandbox/Dockerfile (compose not yet available but planned).

Consider online environments featuring also backends, e.g Gitpod via its [.gitpod.yml file](https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) but also [since today CodeSandBox](https://codesandbox.io/post/introducing-docker-support-in-codesandbox) via a Dockerfile in `.codesandbox/Dockerfile` (compose not yet available but planned).
Poster
Owner

See example as #8 with few scripts.

See example as https://git.benetou.fr/utopiah/text-code-xr-engine/issues/8 with few scripts.
Poster
Owner
See https://git.benetou.fr/utopiah/local-metaverse-tooling
Poster
Owner

See also https://git.benetou.fr/utopiah/text-code-xr-engine#minimalist-example as a way to get started without hosting or backend needed.

Note that it assumes https://fabien.benetou.fr/pub/home/future_of_text_demo/engine/jxr.js does remain available (which isn't even the case on master) and stable (in terms of interface).

See also https://git.benetou.fr/utopiah/text-code-xr-engine#minimalist-example as a way to get started without hosting or backend needed. Note that it assumes https://fabien.benetou.fr/pub/home/future_of_text_demo/engine/jxr.js does remain available (which isn't even the case on master) and stable (in terms of interface).
Poster
Owner
See also https://git.benetou.fr/utopiah/text-code-xr-engine/src/branch/minimalist-template/index.html
Poster
Owner
See also https://git.benetou.fr/utopiah/text-code-xr-engine/src/branch/core-vs-extras
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: utopiah/text-code-xr-engine#72
Loading…
There is no content yet.