This repository is a Docker microservice that contains the public pages of the Robototes' Website. This includes parts of the website such as the homepage, the about page, and the contact us page.
For common documentation regarding the requirements, upkeep, and testing of our microservices, please see our global documentation. Sections regarding microservice-specific configuration, features, and differences in commands can be found below.
The following environment variables can be set, the server will not start without the ones marked required:
IP
(required, default0.0.0.0
) The IP to run the server onPORT
(required, default3000
) The port to listen for requests onDOMAIN
(required) The second-level domain that the server resides onG_TRACKING_ID
(required) The Google analyics tracking ID to report toDEBUG
(optional) see Debug modeDATABASE_HOST
(required) The IP address that the MongoDB server is listening onDATABASE_PORT
(required) The port that the MongoDB server is listening on
This site has been configured to use report-uri.com to track CSP and Expect-CT violations, and the violations
can be viewed by logging in at report-uri.com. The report URI can be modified to report to a different location
by changing the values in middleware.js
.
Refer to our common documentation for an overview of debug mode. In this microservice, debug mode changes the following:
- Sets
/robots.txt
to the debug version set in theseo.js
config - Disables page caching
- Enables extra information on error pages
- Enables Pug debug mode
- Enables the Google Analytics debug mode
The recommended debug filter for this project is robototes-website-web:*,http
.
@dannytech and @TAKBS2412
See our common CONTRIBUTING.md