Skip to content

Deploying RAIDAR

Thomas Martin edited this page Feb 5, 2021 · 3 revisions

raidar documentation

Requirements

python 3.x virtualenv awscli

configure AWS cli

aws configure

  • follow the prompts and you will be set

RAIDAR API

  • Create your Virtual Environment

python3 -m venv raidar

  • start your python virtual env

source raidar/bin/activate

  • install third-party packages

python -m pip install -r requirements.txt

  • running the application locally

python run.py

Deployment

This will rely on the Zappa Settings file for the configuration on where the application is deployed.

This only has to be done initially for the project to be deployed the first time:

zappa deploy

for RAIDAR as it is today, we do not need to re-deploy this application, we just need to update it

update application

As updates are made, the following command will deploy to Dev or Production

Update Development

zappa update dev

Update Production

zappa update production

Clone this wiki locally