Skip to main content

Posts

Showing posts with the label deployment

Nexjs App deployment on Red hat Server

Deployment of Nextjs Application. You can follow this article as well. https://medium.com/bina-nusantara-it-division/how-to-deploy-your-next-js-apps-on-linux-server-using-nginx-and-pm2-65834cfecd37 https://codebhaiya.com/blog/how-to-point-domain-and-host-a-next.js-app-in-production-on-an-ubuntu-vps My searching on BlackBox Ai Chat Blackbox: AI Code Generation, Code Chat, Code Search  Step 1. Setup Node environment on server Now we will start installing following packages using commands -sudo dnf install nodejs npm git  After successful installations check these packages versions to verify. Note: For installing latest/specific version on nodejs. we will use mvn package. this is github official installation guide https://github.com/nvm-sh/nvm By using nvm command we can install nvm package. Its a Node Version Manager -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash To verify run command  -nvm //hit enter If it not found than close the termina...

Reactjs App Deployment On Server

 Deploy your React App on server. To deploy your application, Vercel platform is recommended to deploy your application. Its is highly optimized specifically Nextjs application. It provide bunch of features that our app need to run smoothly. Like Api(route) support feature work if your application run on vercel. Secondly we have getServerSideProps hook only support/run on production, if your app is running on vercel. Source to deploy on vercel server from githup repository Link:  Deploy Nextjs On vercel To run your React js App or for installing any js package, you need to have Nodejs environment setup and npm package installed. Follow this video Link:  Deploy Reactjs App on VPS Step 1. Setup Node environment on server Now we will start installing following packages using commands -sudo apt install nodejs npm git  After successful installations check these packages versions to verify. Note: For installing latest/specific version on nodejs. we will use mvn package. th...