The Annotune is a web-based application built with Flask that allows users to annotate data using an external API. Users can specify the API URL and utilize this app to make annotations conveniently.
Before you can run this application on your own, please make sure you have the following software installed on your system:
- Python 3.x installed.
- Pip installed.
- Git (optional).
-
Clone the repository (if you have Git installed) or download the source code.
git clone https://github.com/daniel-stephens/community_resilience.git
OR
Download the ZIP file and extract it.
-
Navigate to the submodule 2023-document-annotation
cd 2023-document-annotation -
Pull the latest version of the submodule
git pull
-
Navigate back and to the project directory:
cd .. cd annotation_app
-
Install the required packages from
requirements.txt:pip install -r requirements.txt
Refer to the readme of the 2023-document-annotation to set it up.
In the app.py file, paste the url on which this setup is on.
url = "url from the 2023_document_anotation"
Follow these steps to run the Annotation App on your own:
-
Make sure you are in the project directory:
cd annotation-app -
Run the Flask application:
python app.py
-
Open a web browser and navigate to
http://localhost:5000. -
Specify the API URL to connect to your data source.
-
Start making annotations!
- Once the application is running, you can access it via a web browser.
- Specify the API URL you want to connect to when prompted.
- Use the app to make annotations based on the data from the API.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/my-feature
-
Commit your changes:
git commit -m "Add my feature" -
Push to your branch:
git push origin feature/my-feature
-
Open a Pull Request on GitHub.
Thank you for using the Annotation App! If you have any questions or encounter any issues, please feel free to open an issue on the GitHub repository.