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 |
|
numpy |
|
mpl_finance |
|
mplcursors |
|
pandas |
|
sphinx |
|
sphinx theme |
|
rinohtype |
|
sphinxemoji |
|
AWS Lambda ¶
-
Create an account on Amazon Web Services
-
Once you’ve created an account, search for AWS Lambda and go on it.
-
Then Create a function .
-
Chose Author from scratch , pick Python 3.7 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.
-
Upload the archive of your GreedyBoy (
deploy.zip
) to your Lambda function.
-
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.
Test Result ¶
If there’s no error, then your GreedyBoy is good to go ! 🥳