HyperSpace is the MakUrSpace operations and logistics system composed of a frontend web-app and a serverless backend.
- Create AWS Account
- Configure environment for AWS access
- Create IAM Admin user
- Create admin user access key and secret
- Configure environment for AWS (create .aws/credentials and .aws/config files)
- AWS Profile names are used to control configuration scripts. Therefore, they must be strictly named:
- mus
- musint
- musdev
- AWS Profile names are used to control configuration scripts. Therefore, they must be strictly named:
- Install Python 3
- Install NodeJS (for serverless)
- Install Serverless Framework
- Guarantee stl_to_image has been deployed to AWS Account
- Install serverless plugins:
sls plugin install --name serverless-s3-sync
sls plugin install --name serverless-python-requirements
sls plugin install --name serverless-apigw-binary
- Deployment Setup
- Install python requirements:
pip3 install -r requirements.txt
After making changes to local files, launch the development server to view results. This server uses local code to execute against server state data in AWS DynamoDB. As such, it requires an internet connection the environment be configured with an AWS role with DynamoDB list and read permissions at a minimum. Note, bounty reference material is stored as static data but not retained in the code repository. Because of this, the development server replaces all references to these images with filler images.
To launch: python3 local.py