You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on the COCO Annotator project and would like to run it in my local development environment instead of using Docker. I have successfully set up an Anaconda environment and installed the necessary dependencies. However, I am encountering some issues and need your guidance to ensure everything runs smoothly.
Here are the steps I've taken so far:
1.Environment Setup:
Created an Anaconda environment.
Installed all required dependencies listed in the requirements.txt file.
2.Project Structure:
Updated the backend/webserver/init.py and backend/config/config.py files for local configuration.
Ensured backend/workers/init.py is set up for Celery.
3.Configuration:
Configured the .env file with necessary environment variables.
Ensured MongoDB and Celery configurations are correctly set.
4.Attempt to Start Services:
Tried running the Celery worker with the command: celery -A backend.workers worker -l info
Tried starting the Flask application using: python -m backend.webserver.__init__
Despite following these steps, I am still encountering some issues, particularly with module imports and Celery worker initialization.
Could you please provide me with detailed instructions or any insights on how to properly start the COCO Annotator project locally? Specifically, I need clarification on:
Correct setup and initialization of the Celery worker.
Proper configuration of Flask application routes and connection to the MongoDB instance.
Any additional steps or considerations I might have overlooked.
Your assistance and guidance will be greatly appreciated as it will help me move forward with my development work. Thank you in advance for your support.
Best regards,
Looking for your reply
The text was updated successfully, but these errors were encountered:
I fully agree with you ..... using docker is a pain.
it would have been nice if you had provided how you proceed ^^
backend
cd backend
python -m venv .venv
pip install -r requirements.txt
At the moment I have not managed to launch the backend.
I created a python script:
import sys
sys.path.append("config")
from workers import *
celery.start()
I removed version specification for these packages :
opencv-python
Shapely
frontend
using node v18.20
cd client
npm install
npm run serve
I have got some compatibility issues
(node:5227) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use node --trace-deprecation ... to show where the warning was created)
I noticed it is using vuejs 2.0 ......
it would be faster to merge the whole frontend project to a new vuejs workspace
Dear Justin Brooks,
I hope this message finds you well.
I am currently working on the COCO Annotator project and would like to run it in my local development environment instead of using Docker. I have successfully set up an Anaconda environment and installed the necessary dependencies. However, I am encountering some issues and need your guidance to ensure everything runs smoothly.
Here are the steps I've taken so far:
1.Environment Setup:
Created an Anaconda environment.
Installed all required dependencies listed in the requirements.txt file.
2.Project Structure:
Updated the backend/webserver/init.py and backend/config/config.py files for local configuration.
Ensured backend/workers/init.py is set up for Celery.
3.Configuration:
Configured the .env file with necessary environment variables.
Ensured MongoDB and Celery configurations are correctly set.
4.Attempt to Start Services:
Tried running the Celery worker with the command:
celery -A backend.workers worker -l info
Tried starting the Flask application using:
python -m backend.webserver.__init__
Despite following these steps, I am still encountering some issues, particularly with module imports and Celery worker initialization.
Could you please provide me with detailed instructions or any insights on how to properly start the COCO Annotator project locally? Specifically, I need clarification on:
Your assistance and guidance will be greatly appreciated as it will help me move forward with my development work. Thank you in advance for your support.
Best regards,
Looking for your reply
The text was updated successfully, but these errors were encountered: