Getting Started
Getting Started
DeployMeNow allows you to deploy virtually any Python app to AWS-Lambda with a simple CLI-client.
- Install the client and take a look at the client repo:
dan@node1:~$ git clone git@github.com:deploymenow/deploymenow_client.git
Cloning into 'deploymenow_client'...
remote: Enumerating objects: 13, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 13 (delta 2), reused 13 (delta 2), pack-reused 0
Receiving objects: 100% (13/13), done.
Resolving deltas: 100% (2/2), done.
dan@node1:~$ cd deploymenow_client
dan@node1:~/deploymenow_client$ ls -1
deploymenow_client.py
README.md
sample_app_hello_world.py
sample_app_post_a_number.py- (optional) Copy the client to a bin directory, and make sure it’s executable:
dan@node1:~/deploymenow_client$ sudo cp deploymenow_client.py /usr/local/bin/dmn
dan@node1:~/deploymenow_client$ sudo chmod +x /usr/local/bin/dmn
dan@node1:~/deploymenow_client$ dmn -h
usage: dmn [-h] action filename
positional arguments:
action action to take
filename filename of python-file
optional arguments:
-h, --help show this help message and exit