amethyst / amethyst/rustrogueliketutorial

1. Building for the web (hosting suggestion)

Abierto
#215 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
970
Forks
166
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

@thebracket You make a request on the [first section](https://bfnightly.bracketproductions.com/webbuild.html) to recommend local hosting options. I used a docker image and hosted there. For example:

```Dockerfile
# project_root/Dockerfile
FROM ubuntu
RUN apt-get update
RUN apt-get install nginx -y
COPY wasm/* /var/www/html/
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
```
```bash
# project_root
docker build -t local-wasm-host .
docker run -d -p 8000:80 --name local-wasm-host local-wasm-host
```
Open a browser to http://localhost:8000 and I think it works. I'm just starting the tutorial though so don't have anything showing yet.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.