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

Entorno replicable (Docker) #12

Open
agucova opened this issue Jul 14, 2021 · 10 comments
Open

Entorno replicable (Docker) #12

agucova opened this issue Jul 14, 2021 · 10 comments
Labels
deploy Enviroment and deploy issues and features

Comments

@agucova
Copy link
Member

agucova commented Jul 14, 2021

Una dificultad (personal) que he tenido contribuyendo al proyecto es que es difícil probarlo localmente y las instrucciones en SETUP.md son largas, complejas y solo para Linux. En la práctica esto se traduce en una mucho mayor dificultad a sumar personas al proyecto, en correr tests y en automatizar el deployment a futuro.

Creo que razonablemente podemos crear un entorno fácilmente replicable usando Docker Compose, lo que significaría que un contribuidor podría replicar el entorno de producción en segundos utilizando un solo comando y podríamos agregar testeos avanzados a las Github Actions del proyecto (véase #11).

Yo puedo encargarme de esto cuando tenga un poco de tiempo.

@agucova agucova changed the title Entorno replicable Entorno replicable (Docker) Jul 14, 2021
@agucova agucova added the feature New feature or request label Jul 14, 2021
@agucova agucova self-assigned this Jul 14, 2021
@agucova
Copy link
Member Author

agucova commented Jul 14, 2021

@nico-mac Usas Windows? Y si es así, usas WSL?

@nico-mac
Copy link
Member

No me manejo con Docker pero se que nos puede ayudar bastante. Yo uso Linux.

@agucova
Copy link
Member Author

agucova commented Jul 15, 2021

Bacán, solo por curiosidad, que distro? 👀

@nico-mac
Copy link
Member

Uff, he pasado por muchas pero ahora estoy con Fedora.

@agucova
Copy link
Member Author

agucova commented Jul 15, 2021

Uff, he pasado por muchas pero ahora estoy con Fedora.

Interesante... Yo estoy con Pop_OS!

@nico-mac
Copy link
Member

Buena distro, pasé por ahí tambien.

@agucova agucova linked a pull request Jul 16, 2021 that will close this issue
@agucova agucova removed a link to a pull request Jul 17, 2021
@nico-mac nico-mac added deploy Enviroment and deploy issues and features and removed feature New feature or request labels Jul 18, 2021
@benjavicente
Copy link
Member

Falta añadir / preparar npm al contenedor para los assets. Está nvm, por lo que faltaría solo añadir algo como

nvm install --lts
cd front/assets/
npm install

@agucova
Copy link
Member Author

agucova commented Jul 22, 2021

Lo peor es que intencionadamente removí el instalador de Node en la imagen del contenedor jajaja

@benjavicente
Copy link
Member

Otro detalle:

Le falta el directorio bin a esta línea (debería ser "/workspace/.venv/bin/python")

"python.pythonPath": "/workspace/.venv/python",

@agucova
Copy link
Member Author

agucova commented Jul 29, 2021

Wait no! Esto todavía tiene pendiente la imagen de producción.

@agucova agucova reopened this Jul 29, 2021
@agucova agucova removed their assignment Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy Enviroment and deploy issues and features
Projects
None yet
Development

No branches or pull requests

3 participants