5 final
This commit is contained in:
parent
c3529bda07
commit
a0834209e7
2
5/api.py
2
5/api.py
@ -17,7 +17,7 @@ def daj_dane(plik):
|
||||
nip = sprzedawca[-1].replace('NIP: ', '')
|
||||
return {
|
||||
'vat_id' : nip,
|
||||
'address' : sprzedawca_nazwa,
|
||||
'salesman' : sprzedawca_nazwa,
|
||||
'total' : razem
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
from credencials_aws import aws_access_key_id, aws_secret_access_key, aws_session_token, DEFAULT_VPC
|
||||
import boto3
|
||||
|
||||
INDEKS = "s444455"
|
||||
INDEKS = "lastchance2"
|
||||
key_name = f"{INDEKS}-key"
|
||||
security_group_name = f"{INDEKS}-security-group"
|
||||
|
||||
@ -15,8 +15,8 @@ cd DPZC_3/5
|
||||
sudo yum install docker -y
|
||||
sudo service docker start
|
||||
sudo usermod -a -G docker ec2-user
|
||||
docker build -t invoice .
|
||||
docker run -d -p 80:8080 -t invoice
|
||||
sudo docker build -t invoice .
|
||||
sudo docker run -d -p 80:8000 -t invoice
|
||||
'''
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
Reference in New Issue
Block a user