Git Product home page Git Product logo

third-portfolio's Introduction

Table of Contents

Participants Data Automation

Introduction

This data automation collects participants' data, calculate the average level and assigns participants to their respective class levels. The different music areas that takes into account when assigning classes are piano level, musicianship level, solfa level and conducting level. Flow chart below shows the logic of my project.

Lucid Chart

Data Model

A Google Sheet is used to store participants' data. There are two worksheets:

  • participants

    • This worksheet stores participants' first and last names, piano level, musicianship level, solfa level and conducting level. Participants Worksheet
  • levels

    • This worksheet stores participants' first and last names, and their average level of music knowledge based on their piano, musicianship, solfa and conducting skills. Levels Worksheet

API Credentials

To allow access from the project to Google Sheets, credentials must be generated and provided.

  • Google Drive API
  • Google Sheets API

Testing

User Input Testing

  • Parameters: First Name, Last Name, Piano Level, Musicianship Level, Solfa Level and Conducting Level
    • An error message will be printed to the console if the following requirements are not met:
      • Has 6 input values
      • Values are separated by commas without space
      • First 2 inputs in alphabets and last 4 inputs in numbers
      • First and last names provided must be more than one letter
    • The terminal will repeatedly request for data until data is valid

Validator Testing

  • No errors were returned when passing through code validation PEP8

Deployment

  • The site was deployed to Heroku. The steps to deploy are as follows:
    • In order for the project to run on Heroku, list of dependencies are installed into requirements.txt file
    • Clicked "create new app" button to create app and named "level_of_participants"
    • Selected "Europe" as the region and clicked "Create app"
    • Navigated to the Config vars section under the Settings tab in Heroku
    • Entered and added "CREDS" in the field for key and copied the entire creds.json file from the workspace into the value field
    • Entered and added "PORT" in the field for key and "8000" in the field for value
    • Navigated to the Buildpacks section and clicked "Add buildpack" button
    • Selected Python and saved changes
    • Selected node.js and saved changes
    • Navigated to the Deploy tab in Heroku
    • Selected GitHub as the deployment method
    • Confirmed connection to Github and searched "third-portfolio" as the Github repository name to connect
    • Manually deployed by using deploy branch option
    • Clicked the "Deploy" button
    • Terminal is up and running and no errors, indicating the successful deployment

Live Link

Participants Data Automation

Repository

Github Repository

Credits

  • The flowchart is generated from Lucid.

third-portfolio's People

Contributors

celine-14 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.