Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kei edits four #48

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ml-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ jobs:

- name: Run tests
run: |
pipenv run pytest --cov=machine_learning_client.py ml_tests.py
pipenv run pytest --cov=machine_learning_client ml_tests.py
working-directory: machine-learning-client/tests
8 changes: 0 additions & 8 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 43 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
# Interview Review WebApp
![WebApp Machine Learning build test](https://https://github.com/software-students-fall2023/4-containerized-app-exercise-rizzballs/blob/main/.github/workflows/event-logger.yml/badge.svg)
![WebApp Subsystems build test](https://https://github.com/software-students-fall2023/4-containerized-app-exercise-rizzballs/blob/main/.github/workflows/lint.yml/badge.svg)


## What is our WebApp?

Our WebApp is designed to help users practice and improve their interview skills. When prompted, users will speak into the microphhone and answer a generic interview question. Utilizing [SpeechRecogntion](https://pypi.org/project/SpeechRecognition/), the app will record the interview and breakdown the answer given, giving a rating based on specified critera and words used. Then, it is compared to other user attempts to give a comparison and return statistics of the prompted user.

## Installation and Usage

### Prerequisites
1. ensure you have python 3.11 or higher installed
2. ensure you have have Docker installed and running on your computer.
3. optionally have docker Desktop
### Method 1: Cloning the Github Repository
1. Clone the directory through Git Bash with the command:

```
https://github.com/software-students-fall2023/4-containerized-app-exercise-rizzballs.git
git clone https://github.com/software-students-fall2023/4-containerized-app-exercise-rizzballs.git
```

2. Open Docker Desktop
2. Open Docker Desktop or a new terminal

3. In your command prompt, access the directory where you cloned the repository:
3. In your command prompt/terminal, access the directory where you cloned the repository:
```
cd "path_to_directory"
```
Expand All @@ -27,9 +30,36 @@ cd "path_to_directory"
docker-compose build
docker-compose up
```

5. Now, access the http://127.0.0.1:5000/ in your browser of choice.

6. to end the session
```
docker-compose stop
```
or
```
docker-compose down
```

### Note for MacOS Users:
1. after doing docker-compose build and then running docker-compose up leads you to this error:
```
Error response from daemon: Ports are not available: listen tcp 0.0.0.0:5000: bind: address already in use.

```
2. to trouble shoot thisin your terminal run:
```
lsof -i tcp:5000
```
3. and kill that process by doing
```
kill -9 <ProcessID>
```
4. if however, two processes appear when you run the above command then "Airplay" should be turned off
5. to do so go to system settings -> search up air drop and click on "AirDrop and Handoff" -> from there turn off "AirPlay receiver".
6. and then try docker-compose up again.


### Install ffmpeg (Windows)
1. Go to the official ffmpeg website, hover over the windows icon, and click Windows builds from gyan.dev
2. Download ffmpeg-git-full.7z under "latest git master branch build
Expand All @@ -38,6 +68,13 @@ docker-compose up

This should allow you to use ffmpeg while using our program. Make sure to use a clean shell to make sure it is up to date

### Install ffmpeg (Windows)
1. in your terminal type in
```
brew install ffmpeg
```
This should allow you to use ffmpeg while using our program

## Contributors

- [Andrew Huang](https://github.com/andrew0022)
Expand Down
Binary file modified machine-learning-client/tests/uploads/user_audio_converted.wav
Binary file not shown.
Binary file modified machine-learning-client/uploads/user_audio.wav
Binary file not shown.
Binary file modified machine-learning-client/uploads/user_audio_converted.wav
Binary file not shown.
2 changes: 0 additions & 2 deletions mongodb-data/WiredTiger

This file was deleted.

1 change: 0 additions & 1 deletion mongodb-data/WiredTiger.lock

This file was deleted.

6 changes: 0 additions & 6 deletions mongodb-data/WiredTiger.turtle

This file was deleted.

Binary file removed mongodb-data/WiredTiger.wt
Binary file not shown.
Binary file removed mongodb-data/WiredTigerHS.wt
Binary file not shown.
Binary file removed mongodb-data/_mdb_catalog.wt
Binary file not shown.
Binary file removed mongodb-data/collection-0--7574604932032616775.wt
Binary file not shown.
Binary file removed mongodb-data/collection-0-2954355574068542774.wt
Binary file not shown.
Binary file removed mongodb-data/collection-2--7574604932032616775.wt
Binary file not shown.
Binary file removed mongodb-data/collection-4--7574604932032616775.wt
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed mongodb-data/index-1--7574604932032616775.wt
Binary file not shown.
Binary file removed mongodb-data/index-1-2954355574068542774.wt
Binary file not shown.
Binary file removed mongodb-data/index-3--7574604932032616775.wt
Binary file not shown.
Binary file removed mongodb-data/index-5--7574604932032616775.wt
Binary file not shown.
Binary file removed mongodb-data/index-6--7574604932032616775.wt
Binary file not shown.
Binary file removed mongodb-data/journal/WiredTigerLog.0000000019
Binary file not shown.
Binary file removed mongodb-data/journal/WiredTigerPreplog.0000000001
Binary file not shown.
Binary file removed mongodb-data/journal/WiredTigerPreplog.0000000002
Binary file not shown.
Empty file removed mongodb-data/mongod.lock
Empty file.
Binary file removed mongodb-data/sizeStorer.wt
Binary file not shown.
Binary file removed mongodb-data/storage.bson
Binary file not shown.