virtual-labs / engineers-forum

This is the central repository to post all the queries regarding labs and experiments.
Other
2 stars 5 forks source link

Issue: Phase III Lab/Experiment(s) OnBoarding Request - Control Systems #598

Open jaimathur opened 4 years ago

jaimathur commented 4 years ago

Lab OnBoarding Request

Use this to register your lab for hosting or update the list of experiments in the lab.

  1. Lab Repository: http://vlabs.iitb.ac.in/gitlab/vlabs-dev-central-hosting/control-system-iitr/control-system-iitr/tree/developer

@priya100raman The information of this lab is in the Introduction Readme.md file.

Optional

Fill this field to list the experiments that the lab should include

  1. List of Experiments and Repositories: | No.| Experiment Name | Experiment repository URL |
sravanthimodepu commented 4 years ago

@jaimathur Could you please give us the access for the repository.

jaimathur commented 4 years ago

@priya100raman @sravanthimodepu

Access granted.

sravanthimodepu commented 4 years ago

@jaimathur

we couldn't find the experiments link from the above mentioned lab repository, could you please provide the experiment links

priya100raman commented 4 years ago

@jaimathur @jasbir56 @priyanshi-a

Please follow the repository structure ( 1 repo per exp ) as in Digital Electronics and Analog Electronics Phase 3 labs developed by IITR. The hosting team is using the Phase 3 structure defined by IITB to apply a uniform UI and inject analytics at the lab and experiment level.
@jaimathur, request you to update the link with the lab and experiment repos so that we can create a corresponding lab repository in the Virtual-Labs organization on GitHub against which you can raise a hosting request.

priyanshi-a commented 4 years ago

Hello Ma'am,

@priya100raman @jaimathur @jasbir56 As per your request regarding one repo per experiment for Control System Lab, we have developed a combined simulator package for all experiments for the convenience of hosting.

As this lab is developed in Python and Django platform, so if we create a separate repo for each experiment should we have to separate the combined simulator package for each experiment too.

Please provide your contact number for further communication or you can contact us:

Team Virtual Labs Jasbir - 9720002552 Rajeev- 9045981185 Priyanshi- 6398428711

priyanshi-a commented 4 years ago

Hello Ma'am,

As per your request regarding one repo per experiment for Control System Lab, we have developed a combine simulator package for all experiments for the convenience of hosting. As this lab is developed in Python and Django platform, so if we create a separate repo for each experiment should we have to separate the combine simulator package for each experiment too.

Please provide your contact number for further communication or you can contact us:

Team Virtual Labs Jasbir - 9720002552 Rajeev- 9045981185 Priyanshi- 6398428711


Thanks and Regards,

Priyanshi Team Virtual Labs IIT Roorkee

On Fri, Jul 17, 2020 at 4:37 PM priya100raman notifications@github.com wrote:

@jaimathur https://github.com/jaimathur @jasbir56 https://github.com/jasbir56 @priyanshi-a https://github.com/priyanshi-a

Please follow the repository structure ( 1 repo per exp ) as in Digital Electronics and Analog Electronics Phase 3 labs developed by IITR. The hosting team is using the Phase 3 structure defined by IITB to apply a uniform UI and inject analytics at the lab and experiment level. @jaimathur https://github.com/jaimathur, request you to update the link https://docs.google.com/spreadsheets/d/1cXNbviF62Q1WGrtgzxb3e2o-HUg7Ajd-pmXmkG8agIM/edit#gid=0 with the lab and experiment repos so that we can create a corresponding lab repository in the Virtual-Labs organization on GitHub against which you can raise a hosting request.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/virtual-labs/engineers-forum/issues/598#issuecomment-660045884, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJ2ERAYUIJX3GHOMFTOXBDR4AWHBANCNFSM4OYH4UOA .

priyanshi-a commented 4 years ago

@priya100raman Please check the link for control system lab: http://vlab2.iitr.ac.in/

ojas1 commented 4 years ago

Problem

The VLEAD hosting process requires the experiments to be in separate repositories and follow the IITB published structure. The control systems experiments are all placed in a single repository and are developed in python/django. The hosting process does not support this setup.

Proposed Solution

The simulations can be hosted separately and experiments can be made to redirect to the simulation ULRs. This requires the following:

Step 1 (IITR) : Create a separate version of the django app that contains only simulations. The simulation templates should not contain anything that is not a part of the simulations (header, footer etc.).

Step 2 (VLEAD) : Host the "simulations only" version of the django app.

Step 3 (VLEAD) : Share the hosted urls for the simulations.

Step 4 (IITR) : Create a separate repository for each experiment following the IITB published structure.

Step 5 (IITR) : Redirect the simulation/index.html in each experiment repo to the hosted simulation url.

Step 6 (VLEAD) : Host the experiments using the separate repositories created in step 4 and 5 by IITR.

priyanshi-a commented 4 years ago

@ojas1

Ok Thankyou. We have started work on it. Will reach you as soon as all the changes are done.

priyanshi-a commented 4 years ago

@ojas1 With reference to step 1, we have updated the Django app that contains only the simulations part. Please check the updated Django app on this link: http://vlab2.iitr.ac.in/

Let me know if any changes needed.

ojas1 commented 4 years ago

@priyanshi-a Looks good. We can work with this version.

I would like to point out a styling issue though.

The div that contains the simulation form: <div id="ip"> ... </div> is not able to contain the form (the input boxes flow out of the container) if the viewport width is anything less than 1150 px.

This may be a problem because on the experiment page this is going to be embedded in an iframe and the entire screen width will not be available for the simulation.

You can consider the following modifications to your css to fix this:

priyanshi-a commented 4 years ago

@ojas1

Please check the updated Django app with all styling changes on this link: http://vlab2.iitr.ac.in/

Let me know if more changes are needed.

ojas1 commented 4 years ago

@priyanshi-a

Can you please make the content background white?

priyanshi-a commented 4 years ago

@ojas1

We have updated it. Please check it :http://vlab2.iitr.ac.in/

priyanshi-a commented 4 years ago

@ojas1

Sir, Have you checked the updated Django app with white background? Tell us if more changes are needed.

On Thu, Jul 30, 2020, 12:53 PM Priyanshi Agarwal priyanshi.a07@gmail.com wrote:

@ojas1

We have updated it. Please check it :http://vlab2.iitr.ac.in/

ojas1 commented 4 years ago

@priyanshi-a I checked it. Looks good. We can go ahead with the next step.

pavanchow commented 4 years ago

@priyanshi-a Can you please redirect us to the sources for the simulations to host them.

priyanshi-a commented 4 years ago

priyanshi.a07@gmail.com sent you some files

1 item, 6.72 MB in total ・ Expires on 15 August, 2020

Download link: https://wetransfer.com/downloads/e76372f2b5de78aac90e34ce4c6d373720200808041644/2d181dc32edd638d61ed9bfacd45db7020200808041652/0d5fca

Message: @pavanchow

Please find the link for the sources of Django app (Basic Control System Lab).

1 item

Virtual-Lab-master updated.rar - 6.72 MB

Sent through WeTransfer Pro

About WeTransfer: https://wetransfer.com/about Help: https://wetransfer.zendesk.com/hc/en-us Legal: https://wetransfer.com/legal/terms

To make sure our emails arrive, please add noreply@wetransfer.com to your contacts.

pavanchow commented 4 years ago

@priyanshi-a Can we version control these simulations? It will be really helpful if you could push the simulations code to this simulations repository.

priyanshi-a commented 4 years ago

@pavanchow
Pushed codes to this repository. Please check it.

priyanshi-a commented 4 years ago

@pavanchow

Please update us on how should we add simulator links to the repository of each experiment.

priyanshi-a commented 4 years ago

Gentle Reminder:

@pavanchow @priya100raman As we have completed all the changes and pushed all the simulation codes to the simulations repository. Please update us for the hosted URL links of simulators, so we can update it in each experiment repository for hosting this lab.

pavanchow commented 4 years ago

@priyanshi-a Sorry for the delay. We are working on it, will send the links by tomorrow.

priya100raman commented 4 years ago

@priyanshi-a

We need help to setup your project. We have a django enabled server running but are having problems installing your app.

Following are the things we want to understand:

Configuration required for serving the app from an Apache server.
Organization of their multiple apps.
The url pattern to access these apps.

Could you please let us know if 11:30 AM tomorrow would work for you ? IAlso, please share your email ids so that we can send you the meeting link.

priyanshi-a commented 4 years ago

@priya100raman Yes, it is ok. Team Members for the meeting: Jasbir Singh: jasbirjassy6@gmail.com Rajeev Kumar: rajeevkumar.rke@gmail.com Priyanshi Agarwal: priyanshi.a07@gmail.com