How to connect to an existing app? | Adobe Higher Education
Skip to main content
Level 2
November 4, 2020
해결됨

How to connect to an existing app?

  • November 4, 2020
  • 1 답변
  • 2893 조회

Hi,

 

I have created an app using `aio app init` and gone through adding the actions and code and deploying it etc...
Now my colleague wants to connect to be able to update and deploy etc...

They have the code from the repo downloaded but I'm not sure how to connect them to the app? Do we run `aio app init` again? If so are there any specific options to choose as it is asking us about creating actions etc...

When trying to do `aio app deploy` with the code form the repo we now get... "Error: missing Adobe I/O Runtime namespace, did you set the AIO_RUNTIME_NAMESPACE environment variable?"

 

Thanks

이 주제는 답변이 닫혔습니다.
최고의 답변: dbenge

So assuming the new developer is going to be working in their own workspace in the project.
Go into the Adobe Developer Console > project your working on > new developers workspace and add all the services you needed for the project.

 

The new developer will download the code into their local development machine 

Then at a terminal do the following

cd in the projects home folder 

type `aio console workspace list`

then find the ID of the workspace you want to switch to.  Let's say the new workspace you set up for the developer is id 12323123213

in the terminal type `aio console workspace select 12323123213`

then in the terminal type `aio app use -m`

 

that should bring down all the environment settings from the Adobe Developer Console into that new developers working environment.  

 

 

 

1 답변

dbengeAdobe Employee답변
Adobe Employee
November 4, 2020

So assuming the new developer is going to be working in their own workspace in the project.
Go into the Adobe Developer Console > project your working on > new developers workspace and add all the services you needed for the project.

 

The new developer will download the code into their local development machine 

Then at a terminal do the following

cd in the projects home folder 

type `aio console workspace list`

then find the ID of the workspace you want to switch to.  Let's say the new workspace you set up for the developer is id 12323123213

in the terminal type `aio console workspace select 12323123213`

then in the terminal type `aio app use -m`

 

that should bring down all the environment settings from the Adobe Developer Console into that new developers working environment.  

 

 

 

Level 2
November 4, 2020
Ah excellent, that's great thanks!