-
Notifications
You must be signed in to change notification settings - Fork 1
[infra,devops] Deploy : step by step
Ingi Erli edited this page Sep 14, 2021
·
5 revisions
- change the code, for instance in the ui.R
- git add / git commit -m "" / git push
- update the file
/docker-compose/Dockerfile/.env
with the next version. - run
/docker-compose/Dockerfile/docker-build.sh
; A docker-image is created - test the docker-image locally by running
docker-compose.local.yml
- run
docker push
* - Production ...
*(2020-04-15),OBS: currently pushed to inkimar's account as in docker push inkimar/shiny:vx.y.z
the dockerfile fetches the code from github.com-repo (Naturhistoriska/swedishbirdrecoveries)
RUN sudo su - -c "R -e \"devtools::install_github('Naturhistoriska/swedishbirdrecoveries')\""
- RUN sudo su - -c "R -e "devtools::install_github('Naturhistoriska/swedishbirdrecoveries', ref = 'branchname')""`
ie. -> ref = 'dev'