This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import base64 | |
| import requests | |
| from enum import Enum | |
| """ | |
| Script to connect to ps3838 API | |
| URL to check API User Guide: | |
| https://www.tender88.com/static/index.php/es-es/help/api-user-guide-es-es |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Commands | |
| ------------ | |
| 1. Build Docker Image | |
| docker build -t test . | |
| 2. Run container /w image | |
| docker run -d --publish 8888:5000 test | |
| 3. Login to ECR | |
| aws ecr get-login-password --region REGIONHERE!!!! | docker login --username AWS --password-stdin ACCOUNTIDHERE!!!!.dkr.ecr.REGIONHERE!!!.amazonaws.com |