Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration of VisualCircuit and VC+ #222

Merged
merged 4 commits into from
Aug 31, 2023
Merged

Integration of VisualCircuit and VC+ #222

merged 4 commits into from
Aug 31, 2023

Conversation

siddheshsingh26
Copy link
Contributor

@siddheshsingh26 siddheshsingh26 commented Aug 27, 2023

Dockerized Execution of Robotics Applications in RADI

This guide outlines the steps to set up and run a Dockerized execution of robotics applications made from VisualCircuit within the RADI (Robotics Application Development Interface).

Step 1: Set Up VisualCircuit

  1. Set up the normal VisualCircuit environment.

Step 2: Start Frontend

  1. Navigate to the frontend directory:cd frontend
  2. Start the frontend server:npm start

Step 3: Start Backend

  1. Navigate to the backend directory:cd backend
  2. Start the backend server:python3 manage.py runserver 8080

Step 4: Activate PythonWebIDE Environment

  1. Navigate to the PythonWebIDE directory:cd PythonWebIDE
  2. Open a terminal and activate the virtual environment:source env/bin/activate

Step 5: Start React Frontend

  1. Navigate to the react_frontend directory:cd react_frontend
  2. Run the development server:npm run dev

Step 6: Start Another Backend Instance

  1. Open another terminal.
  2. Navigate to the backend directory:cd backend
  3. Start another instance of the backend server:python3 manage.py runserver

Step 7: Run Docker image RADI

sudo docker run --rm -it --name radi -p 2303:2303 -p 1905:1905 -p 8765:8765 -p 6080:6080 -p 1108:1108 -p 7163:7163 jderobot/robotics-academy:3.4.5 --no-server

Verification

After following these steps, the VisualCircuit should be running in a Dockerized environment within the RADI.

Video Proof.

Fixes

@toshan-luktuke toshan-luktuke self-requested a review August 29, 2023 06:14
@toshan-luktuke
Copy link
Collaborator

toshan-luktuke commented Aug 29, 2023

I had to make some changes to the steps you've described but I got it working....

  • Please add a README containing the Pull Request Description to the project
  • Include the steps for setting up PythonWebIDE as well to the README

Also Step 6 is not starting another Backend instance but rather using the env virtual environment and running the server in PythonWebIDE/ itself.

Copy link
Collaborator

@toshan-luktuke toshan-luktuke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need some fine-tuning to get it working perfectly, but its a great first prototype of VC+

@toshan-luktuke toshan-luktuke merged commit 3ab6cd7 into master Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants