-
Notifications
You must be signed in to change notification settings - Fork 310
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
Azure code push server to be used for multiple different react native apps? #46
Comments
@jerinjohnk my name is Rahman and I'm also trying to deploy code-push-server into azure. Can you please share me the exact steps? |
For Now we are creating different resources across different teams to keep resources separate |
@jerinjohnk I'm new to Azure and trying to deploy code-push-server into Azure app services. To do this, I'm following their documentation is this good enough? |
Hi, @rahman2835; for local deployment, I found this Medium article to give enough details. You can add your secret key values inside Instead of running the long code For the first time or after syncing the codepush repo, you must deploy/redeploy the After it's done, you can register and log in using the resource URL. Haven't tried adding the Redis server for metrics for now. |
@jerinjohnk Thank you so much for your quick reply. I have same app for iOS, Android and Windows. For each app I can use same Server URL to add or register right ? I mean code-push-standalone register <optional: server-url> (http://localhost:3000) code-push-standalone app add MyApp-Android one more question, for OAuth I can use only GithHub right ? No need of Microsoft OAuth details? |
Yes, you can keep the same <optional: server-url> => https://.azurewebsites.net. code-push-standalone app add <appName> We opted to keep different team resources separate as we have different apps in our organization. Yes, GitHub will suffice. |
@jerinjohnk thank you so much. It helps a lot for my deployment process. |
@jerinjohnk I deployed using VS code. But I ran following commands before I deploy. npm install Above commands will create bin folder and node_modules folder. Currently I uploaded all these files. So my question is, do we need to upload node modules also. What if I wanted to deploy using github repo? I'm really sorry for all these questions. |
What do u mean you uploaded all the files?
|
@jerinjohnk yes followed these steps and able to see Welcome to the CodePush REST API! |
@jerinjohnk any suggestions for this ticket. |
We created a Resource Group and deployed
api
folder to Azure for the codepush server.I can add android and ios apps here using
Now, we have different apps in our organization that require this codepush server setup. Would you suggest
Or
The below code will delete the app, but will it also delete its associated packages?
Please let me know if I am on the right track.
If we opt for the second method, the email used to access the resource can be considered the admin.
The admin can add all apps to the resource.
Then, they can add collaborators to each app to access their particular app.
So, are collaborators assigned admin roles? Can they delete the app?
The text was updated successfully, but these errors were encountered: