How to connect to an existing app?

Avatar

Avatar

oliverf82757722

Avatar

oliverf82757722

oliverf82757722

04-11-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

dbenge

Avatar

dbenge

dbenge

04-11-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.  

 

 

 

Answers (0)