From 45dc0ea74d313cc5822fa33ac85bc03935b18718 Mon Sep 17 00:00:00 2001 From: eloisa-castro Date: Fri, 3 Apr 2020 20:44:11 -0300 Subject: [PATCH 1/2] =?UTF-8?q?Resolu=C3=A7=C3=A3o=20do=20exerc=C3=ADcio?= =?UTF-8?q?=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- semana20/aula1.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 semana20/aula1.txt diff --git a/semana20/aula1.txt b/semana20/aula1.txt new file mode 100644 index 0000000..82b803a --- /dev/null +++ b/semana20/aula1.txt @@ -0,0 +1,16 @@ +/** EXERCÍCIO 1*/ + +// 1 +// Primeiro, o repositório deveria ser clonado na máquina EC2. Depois o projeto deve ser instalado e buildado. + +// 2 +// Projeto escolhido: 4food (https://github.com/future4code/bouman-4food-A.git). + +// 3 +// ssh -i ec2-semana20-future4.pem ubuntu@3.82.107.101 + +// 4 +// git clone https://github.com/future4code/bouman-4food-A.git +// cd bouman-4food-A +// npm i +// \ No newline at end of file From c83bee980d0ab38d5dbf07d137634bd10e07b5dd Mon Sep 17 00:00:00 2001 From: eloisa-castro Date: Fri, 3 Apr 2020 22:54:00 -0300 Subject: [PATCH 2/2] =?UTF-8?q?Resolu=C3=A7=C3=A3o=20completa=20do=20exerc?= =?UTF-8?q?=C3=ADcio=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- semana20/aula1.txt | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/semana20/aula1.txt b/semana20/aula1.txt index 82b803a..179878a 100644 --- a/semana20/aula1.txt +++ b/semana20/aula1.txt @@ -10,7 +10,23 @@ // ssh -i ec2-semana20-future4.pem ubuntu@3.82.107.101 // 4 +// clonando o repositório // git clone https://github.com/future4code/bouman-4food-A.git + +// entrando no repositório // cd bouman-4food-A + +//instalando as dependências // npm i -// \ No newline at end of file + +// 5 +// npm run start + +// 6 +// npm run build +// sudo apt install python +// cd build +// sudo python -mSimpleHTTPServer 80 + +// 7 +// A grande diferença é que o projeto não foi criado diretamente na máquina; o repositório do git contendo todo o código do app foi clonado na máquina. De forma geral, o processo foi bastante semelhante. \ No newline at end of file