Skip to content

Commit

Permalink
Updated Dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
AASHISHAG committed Aug 8, 2019
1 parent 0967b07 commit d67f298
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 22 deletions.
12 changes: 10 additions & 2 deletions backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@

This project was generated with [Python-3.6.0](https://www.python.org/downloads/release/python-360/).

By-default the server runs on `localhost:80`. These can be changed in server.py
By-default the server runs on `localhost:8080`. This can be changed in server.py

#### Installing Python bindings

```
pip3 install requirements.txt
pip3 install -r python_requirements.txt
```

#### Installing Linux dependencies

The important Linux dependencies can be found in linux_requirements.

```
apt-get install dependency_name
```

#### Runnning the Server
Expand Down
2 changes: 2 additions & 0 deletions backend/linux_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
libsndfile1
software-properties-common
33 changes: 14 additions & 19 deletions backend/requirements.txt → backend/python_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
pandas
python_speech_features
tensorflow == 1.12.0
progressbar2
python-utils
tensorflow == 1.12.0
numpy
matplotlib
scipy
sox
paramiko >= 2.1
python_speech_features
pyxdg
bs4
six
setuptools
flask_cors
soundfile
paramiko
requests
tables
attrdict
setuptools
librosa
soundfile
tables
pandas
flask
scipy
numpy
pyxdg
wave
cgi
contextlib
base64
soundfile
flask_cors
subprocess
sox
bs4
six
17 changes: 16 additions & 1 deletion frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,19 @@ It is assumed that backend is running on `localhost:80`, which can be changed in

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

#### Installing dependencies

The important Nodejs dependencies can be installed using below commands.

```
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install nodejs
npm install -g @angular/cli
npm install @angular/cli --save
npm install @angular/compiler-cli --save
npm install --save-dev @angular-devkit/build-angular
npm install @angular-devkit/core --save-dev
npm install
```

0 comments on commit d67f298

Please sign in to comment.