-
Clone your repository:
git clone https://github.com/B10715018/eCloudDay1.git
-
Create virtual environment and activate it:
python3 -m venv ./venv && source venv/bin/activate
-
Install the dependencies:
pip3 install -r requirements.txt
-
Don't forget to configure your account:
aws configure --profile
-
To use some functionality, for example scan dynamodb:
python dynamodb-scan.py
-
Results data can be obtained in the
data
folder -
Please create a folder name
data
at the eCloudDay1 repositories it is where we could store all metadata in form of JSON
- The design of class diagram can be find in
docs
folder in Diagram
-
make sure you have
jobClearJSON.sh
file in your directory -
execute this command in your terminal
chmod u+x ./tools/shell/jobClearJSON.sh
- run it using this command in your terminal
./tools/shell/jobClearJSON.sh
-
This is to automate checking test on every python file made.
-
If there is error it will return failed test and will send email of failed test to the contributor who pushed or pull the request
-
If all checks are passed, you may continue to create a pull request or else you need to fix your code first
Link to learn how to publish new Python package to PYPI
Link to deploy to AWS from local
Link to deploy to PYPI repositories
Link to Docker and ECS Documentation
Link to Tutorial to update PYPI Package