Installation 🏗️

Softwares/Libraries

You will at least need Python 3.7 to launch the Zipper to export GreedyBoy into AWS Lambda.

The rest is needed if you want to modify the code or make the documentation.

Software

Link / Command

Python 3.7

https://www.python.org/downloads/release/python-370/

numpy

pip install numpy

mpl_finance

pip install mpl_finance

mplcursors

pip install mplcursors

pandas

pip install pandas

sphinx

pip install sphinx

sphinx theme

https://bashtage.github.io/sphinx-material/#getting-started

rinohtype

pip install rinohtype

sphinxemoji

pip install sphinxemoji

AWS Lambda

  1. Create an account on Amazon Web Services

  2. Once you’ve created an account, search for AWS Lambda and go on it.

Type ``Lambda`` in the **Search bar** and click on **Lambda**
  1. Then Create a function .

Click on **Create function**
  1. Chose Author from scratch , pick Python 3.7 and click on Create function .

Click on **Author from scratch**, pick **Python 3.7** in the **Runtime list** and click on **Create function**

Warning

First you must Configure your good ol’ GreedyBoy 🛠️ to continue with the next steps.

Then after the Configuration , you’ll have to zip your GreedyBoy by launching into your GreedyBoy repository, make zip to perform the following steps.

Or else nothing will really happen as GreedyBoy doesn’t know on which accounts he’s relied to.

  1. Upload the archive of your GreedyBoy ( deploy.zip ) to your Lambda function.

Click on **Upload from** and **.zip file** Click on **Upload** and search for your ``deploy.zip``
  1. Then configure your Lambda function to set the Timeout to 15min (AWS Lambda maximum Timeout) .

Note

We need to do that in order for GreedyBoy to stay active as long as possible.

Click on **Configuration** and **Edit** Set **Timeout** to **15min** Click on **Test (next to Code & Monitor)** and then **Test (next to Save Changes)**

Test Result

GreedyBoy do be **fresh** though |:flushed:|

If there’s no error, then your GreedyBoy is good to go ! 🥳