Skip to content

mrcarlosrendon/turbo-carnival

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

turbo-carnival

Visualizes Rocket League Replays

Upload and watch Rocket League replays here

Deployment Instructions

This application uses the following AWS services:

  • S3
  • Elastic Beanstalk
  • DynamoDB

First you must have an AWS account, and create an S3 bucket. You will need to update application.py with your S3 bucket name.

You also must create a DynamoDB table turbo-carnival with partition_key of replay_key. Application assumes you will use region us-west-2.

App is deployed using eb cli tool and also requires the AWS cli tool. These can be installed using pip.

python -m pip install awscli
python -m pip install --upgrade --user awsebcli

You need to configure the AWS cli with API keys and which region you want to work in.

aws configure

The first time you deploy the app, you have the create the environment in Elastic Beanstalk.

cd website
eb create [environment-name]

You need to use IAM to give the Elastic Beanstalk role read and write permissions to your S3 bucket.

Deployment to an existing Elastic Beanstalk is easy:

cd website
eb deploy

Local Deploynment

The application can also be run locally. App assumes /tmp or c:\tmp exists and is writable. Don't worry it only uses it temporarily. The application still requires an S3 bucket when run locally. It also requires the octane to be in your PATH.

cd website
python application.py