-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
22 lines (20 loc) · 839 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
say_hello:
echo "hello world"
docker:
docker build -t cf-app .
docker tag cf-app ronbckbn/cf_app
docker push ronbckbn/cf_app
docker_base:
docker build -t cf_base -f Dockerfile_base .
docker tag cf_base ronbckbn/cf_base
docker push ronbckbn/cf_base
# test:
# python3 manager.py test
# lambda:
# virtualenv lambda_handler/v-env
# source ~/development/stride-core/lambda_handler/v-env/bin/activate
# cd lambda_handler/v-env/lib/python3.7/site-packages/ && zip -r9 ~/development/stride-core/lambda_handler/stride_function.zip .
# cd ~/development/stride-core/lambda_handler && zip -g stride_function.zip lambda_function.py
# cd ~/development/stride-core/lambda_handler && aws lambda update-function-code --function-name stride-balance-update --zip-file fileb://stride_function.zip
# activate:
# source ~/env/stride/bin/activate