Skip to content

novlesse/N.W.A

Repository files navigation


A u d i o l o g y

COMP 2523 - Object Oriented Programming

FINAL PROJECT : Apple Music Clone

N.W.A

Nerds With Attitdude

By: John Nguy | Emmy Wong | Jeffrey Lau



  1. Setup an AWS S3 account if you haven't already done so.

https://aws.amazon.com/s3/

  1. Create a bucket along with the following directory:

your_bucket_name/uploads

  1. run the following command in your terminal:

aws configure

  1. Enter the values below for the following prompts:

AWS Access Key ID: YOUR_ACCESS_KEY AWS Secret Access Key: YOUR_SECRET_KEY Default region name: us-west-1 Default output format: json

  1. Go to your S3 console https://s3.console.aws.amazon.com/

  2. Click on your bucket --> Permissions --> Bucket Policy

  3. Enter the following code to make your bucket public to access uploaded audio files:

Note: Replace bucketname with your bucket name.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "PublicRead",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::bucketname/*"
        }
    ]
}
  1. Hit save.

Installation:

pip3 install -r requirements.txt

Run:

python3 run.py


License & Copyright

Copyright (c) 2020, John Nguy, Emmy Wong, Jeffrey Lau

Licensed under the MIT License.

About

Nerds With Attitude

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •