how to work with a CapRover project that is already in production - deployment

How did I connect to an existing CapRover application? I have to upload the project that I have finished but to upload it to production they are using CapRover, there is already an old version of the project in production but I do not understand how to connect with it to be able to upload the new version until now I have only seen that the tutorials cover how to upload a new project from 0 but not how to work on one that already exists
i try with caprover login but i cannot

Caprover is a PAAS,you need to login into the admin url, usually captain.yyy.uuu and navigate to the app or simply ssh into the server hosting it and check for the particular container with your app.

Related

How do I deploy a MERN stack application to cpanel on a VPS server

Please anybody with the experience of deploying a MERN stack APP to cpanel on a VPS server? Kindly share! Thanks!!
You can upload an app to cpanel, that is developed using node,express and react (and in this case, you must ensure first that the cpanel supports nodejs apps, not all of them do so). But, mongoDB simply is not supported by CPanel. You can upload MERN stack app, but, the db won't be connected.
Once you have the cpanel access, create a folder to the directory, upload your project (make sure you take the integrated approach to deploy your mern app).
Go to the UI, create an app and address the folder to the app. Start the app. And your website is ready to use.

What files to package Atlassian Connect Express Confluence Macro

I am trying to find what files to upload and where for my web confluence plugin. I know the atlassian-connect.json needs to be uploaded to an https:// location. Do I upload that project root direct in the same location as well as all the folders, or can I skip uploading the node_modules folder?
You need to host the whole app on a hosting platform that you choose, and yes that includes the atlassian-connect.json file. Once you upload it and have it running you can install it into your Confluence app using the url to your atlassian-connect.json file.
If you haven't already, you should go through the Getting Started guide on the docs. This will walk you through setting up an app and getting it running locally and installing a running app into Confluence.

Switching to newly created site from bench not working

I am learning frappe framework following the tutorial on the website.
I created a new site as well as an app, after thatinstalled the new app on the newly created site, the used the command $ bench use library but i am unable to load the new site "library". but when i go to localhost:8080 i get ERPNext site. i am using Virtual Image.
I have already tried restarting bench
the currentsite.txt file contains "library"
Are you using production setup (gunicorn/nginx) or developer setup (bench start)?
If you are developing, use bench start instead of production setup.
If you want to access your site in your browser using the site name, you have to add it to /etc/hosts first.
/etc/hosts
127.0.0.1 library
Now, you can access your site at http://library:8000 in your browser.
The tutorial is now updated and explains these steps in detail:
https://frappeframework.com/docs/user/en/tutorial/create-a-site#access-site-in-your-browser

How could I get code of the application deployed on digital ocean?

I need to edit application developed by somebody else in Meteor.js deployed on Digitalocean. I have an access to digitalocean account, but have no idea how to access code and the whole folder where is application stored. Is this even possible ? Should I ask him for github repo with the app to get it instead ? Thanks.
Ask for the repo. The server may only contain the built version of the app (since that's all that's needed to run it) and that's no good for developing. You can't edit that directly.

Move ClickOnce repository without reinstall in client machines. Is it possible?

I have a C# application (WinForms) (ClickOnce) whose repository is installed on a server that is about to crash, so my boss asked me to move the repository, but there are around 300 client machines which have the application installed.
The ClickOnce is signed with a Test Certificate.
Is it possible to move the repository without having to reinstall in the client machines?
Thanks in Advance
[EDIT]
I Have published the application to the new server, but the clients don't reach it, what else can I do? I think i should change something inside the manifest or something like that, but a actually don't know too much about ClickOnce... In any case, i would like to avoid the reinstallation on all the client machines, any ideas, suggestion? thanks in advance
The answer provided by Jhonny seemed promising to me, and I encountered an error when I tried it, which I had to solve. It had to do with certificates.
After following his setps, when I launch the ClickOnce app on the client machine, I get an error dialog: "Cannot Start Application".
When I click on the Details... button in the error dialog, the text file that opens shows that the app is trying to update from the Deployment Provider URL of the new server, but it gives this error:
"The deployment identity does not match the subscription."
The problem was the certificate used to publish the app on the old server was expired, and I had updated the certificate in the app published on the new server. The certificates didn't match.
The solution was to first publish the app to the old server with the new certificate, have the users open the app to get that update, then publish another new version with the Deployment URL of the new server, and copy the files to both servers. When the users updated the next time, they got the version of the app from the old server with the manifest pointing to the new server, and then, all subsequents updates were retrieved from the new server.
Here is what I have done, for people who may have the same issue.
Setup the new server on the publish package. (Project Properties, Publish Tab)
Publish to the new server
Copy the published files to the old server. (Include the .application file and the folder)
When the clients reach the old server, they will update, but the server location will be updated on the client to the new server name.
You could try to change the DNS alias so that it redirects to your new server.
The fact that the code signed using a certificate is not relevant, since code-signing certificates are not bound to a specific repository (as opposed to SSL certificates)
Btw, why don't you want to reinstall? The whole point of clickonce is to ease this kind of software update !!