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

Build frontend code on ansible machine, not on raspi #1

Open
k-nut opened this issue Jan 6, 2020 · 0 comments
Open

Build frontend code on ansible machine, not on raspi #1

k-nut opened this issue Jan 6, 2020 · 0 comments

Comments

@k-nut
Copy link
Contributor

k-nut commented Jan 6, 2020

Currently the frontend code is build on the raspi or small computer that will later host the frontend assets. As theses machines are usually quite low power compared to the machines that ansible runs on (probably a more or less modern laptop) it might make sense to install the dependencies and to build the bundle on the ansible machine and then to only deploy the created artefacts to the raspi. This is the file that would need to change: https://github.com/ISEMS/isems-ansible/blob/master/roles/frontend/tasks/main.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant