Open woodRock opened 4 years ago
We can create a React application in a GitHub repository. Create a production build. This uses web-pack to condense our application into a single index.html
file. The production version of the webpage can then be cloned to wellmapsrvdev02
where it will be deployed.
This example shows the production build of the React application for my website. Notice the index.html
and how webpack eliminate the need for an installation of NPM
or node_modules
. It is able to generate a static site, which is perfect to be hosted on the wellmapsrvdev02
.
At
/var/www/html
there is anindex.html
file. This is the default homepage for theApache2
server.This template file can be refactored to provide a user friendly home page.