First of all Fork the repo.
Then type the following command on the terminal to clone the repo keeping in mind to replace the {your-user-name}
with your github user name.
git clone https://github.com/{your-user-name}/voice-controlled-departmental-noticeboard
Now you need to move to the project directory.
cd voice-controlled-departmental-noticeboard
First install the virtual environment
pip install virtualenv
Type the following command to create a virtual environment.
virtualenv venv
Now activate the virtual environment
venv/Scripts/activate
In case your PC is not allowing the virtual environment to activate, then open the Windows Powershell
with Open as administrator
and type the following command on its shell.
Set-ExecutionPolicy Unrestricted -Force
Then try activating the virtualenv again.
And to deactivate the virtual environment in any case type following in the terminal where it is activated.
deactivate
But donot deactivate while working on the project (Recommended).
First of all to install cmake library, the Visual Studio
is required to be installed. Click here to download the Visual Studio (Community Pack is free).
Install the Desktop Development with C++
tool with the Visual Studio installer. It will be necessary to compile the cmake lib.
Now install the cmake
lib with the following command on the terminal with virtual environment activated.
pip install cmake
Now download the suitable pyaudio wheel.
For example in 'PyAudio‑0.2.11
‑cp39
‑cp39
‑win
_amd64
.whl', 0.2.11
is showing the version, cp39
is showing the python version 3.9 whereas win
_amd64
is showing that wheel is made for windows 64 bit processor.
Install the Pyaudio by writing the following command in the terminal.
pip install [path-to-downloaded-pyaudio-wheel]
Now install all the other requirements.
pip install -r requirements.txt
Now you need to put the details provided by the host in the directory. If you donot have them, try asking from the host and place it.
Now run the following command, it will Boot the structure and will start working.
python init.py
You can also contribute to the project. Read the instructions here. I will be more than happy to see your participation.
You can also read our Code of Conduct.