Welcome to Deaflingo! This guide will walk you through the steps to set up and run the Deaflingo web application locally on your machine.
For a demonstration of Deaflingo in action, watch our video on YouTube:
This was made for HackKU 2024 find the devpost link here.
-
Python 3.11.x installed on your system. You can download it from python.org.
-
Git LFS installed. Follow the steps below to install Git LFS:
- Install Git LFS.
- Set up Git LFS for your user account by running:
git lfs install
.
-
Clone or download this repository to your local machine.
-
Navigate to the project directory using the command line.
-
Install the required dependencies by running the following command:
pip install -r requirements.txt
If you're on a macOS system, use the following command instead:
pip install -r requirements-mac.txt
This command will recursively install all the dependencies required for the Deaflingo web app.
Note: Ensure that "pip" corresponds to your Python 3.11.x installation.
-
Once all the dependencies are installed, you can start the Deaflingo web app by running the following command:
Note: Ensure that "python" corresponds to your Python 3.11.x installation.
python app.py
-
After executing the above command, the Flask development server will start running. You should see output similar to the following:
* Running on http://127.0.0.1:8001/ (Press CTRL+C to quit)
-
Open your web browser and navigate to http://127.0.0.1:8001/.
-
You should now see the home page of the Deaflingo web app, where you can interact with its features.
To stop the Flask development server, press CTRL+C
in the command line where the server is running. This will stop the server and free up the port.
-
Make sure no other application is using port 8001 on your system to avoid conflicts with the Flask development server.
-
It's recommended to use a virtual environment for Python projects to manage dependencies and avoid conflicts with system-wide packages. You can create and activate a virtual environment using
venv
orvirtualenv
as per your preference. -
If you encounter any issues during setup or running the application, feel free to reach out for assistance.