Goal: deploy reactjs (front) and python (back) project on Azure VM Linux (Ubuntu 18.04)
I have a project folder where I have two subdirectories: one named front and one names back. To launch it on my local computer (linux 18.04) I do the following steps:
To start the back
- cd back
- flask run
To start the front
- cd front
- npm start
Then go to http://localhost:3000/ (redirected automatically there after launching npm start)
I need to deploy now my project using Azure. So I have access to an Azure VM that has Ubuntu 18.04 on it which I can access using SSH from my local computer. How am I supposed to deploy this project on the VM? Do I need to simply do the same as on my local machine (flask run and npm start)?
PS: It is the first time I deploy a project.