woodRock / super-telegram

We are migrating an existing Web Map Service (WMS) to a different server. The existing services uses Apache, Postgres, Postgis (psql extention), and Mapserver. The new version of the server has an updated version of both Mapserver and Postgres installed. Between the major versions of Mapserver some of the syntax from the existing Mapfiles is now deprecated.
0 stars 0 forks source link

index.html #6

Open woodRock opened 4 years ago

woodRock commented 4 years ago

At /var/www/html there is an index.html file. This is the default homepage for the Apache2 server.

This template file can be refactored to provide a user friendly home page.

woodRock commented 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.

woodRock commented 4 years ago

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.