Henry7871 / DE_lambda

data ETL automation and machine learning lambda API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New-De-Project

Python

# 1. Install or update python to version 3.8
# 2. cd to the directory where requirements.txt is located
# 3. Optional: activate your virtualenv
# 4. Run the following command to install required python packages
pip3 install -r requirements.txt

Serverless

# Install Serverless taking wsl on windows as example
# 1. Updates ubuntu
sudo apt-get update && sudo apt-get upgrade -y
# 2. Install node
sudo apt-get install curl -y
curl –sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get nodejs -y
# 3. Test node
node -v
# 4. Test npm
npm -v
# 5.1 Install the Serverless cli, if you do not have Serverless pre-installed
sudo npm install -g serverless
# 5.2 Update Serverless from a previous version of Serverless, if you already have installed Serverless
sudo npm update -g serverless
# 6 Check serverless framework version
serverless -v

Serverless Plugin

# Install serverless python requirements
# https://github.com/UnitedIncome/serverless-python-requirements
cd ${PROJECT_FOLDER}
sls plugin install -n serverless-python-requirements
# Install serverless dotenv plugin
npm i -D serverless-dotenv-plugin 
# Install Serverless IAM Roles Per Function Plugin
npm install --save-dev serverless-iam-roles-per-function

Presentation slides:

https://www.canva.com/design/DAEyUfUVFIU/share/preview?token=ZxtD5B8K0Eqv7hmikCYBPA&role=EDITOR&utm_content=DAEyUfUVFIU&utm_campaign=designshare&utm_medium=link&utm_source=sharebutton

Jenkins: http://d1fcf0fdff6a.ngrok.io/

About

data ETL automation and machine learning lambda API


Languages

Language:Jupyter Notebook 69.1%Language:Python 17.6%Language:HCL 9.3%Language:HTML 2.4%Language:Shell 1.3%Language:Dockerfile 0.4%