From 79c88a5d9a6040157f081fc8490e814ee1f93e2b Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Fri, 8 Sep 2023 20:28:51 +0100 Subject: [PATCH] Updates docs --- src/pages/About.tsx | 85 ++++++++++++++++++++++++++++++++++++++------- 1 file changed, 73 insertions(+), 12 deletions(-) diff --git a/src/pages/About.tsx b/src/pages/About.tsx index 7e85b6d..6839c8d 100644 --- a/src/pages/About.tsx +++ b/src/pages/About.tsx @@ -179,6 +179,79 @@ const About = (): JSX.Element => { ))} + Deploy your own Instance +
+

Web-Check is designed to be easily self-hosted.

+ Option #1 - Netlify +

Click the button below to deploy to Netlify

+ + Deploy to Netlify + + + Option #2 - Vercel +

Click the button below to deploy to Vercel

+ + Deploy with Vercel + + + Option #3 - Docker +

+ A Docker container is published to DockerHub +
+ Run this command, then open localhost:3000 +

docker run -p 3000:3000 lissy93/web-check
+

+ + Option #4 - Manual +
+        git clone https://github.com/Lissy93/web-check.git
+ cd web-check # Move into the project directory
+ yarn install # Install dependencies
+ yarn build # Build the app for production
+ yarn serve # Start the app (API and GUI)
+
+ + Further Docs +

+ More detailed installation and setup instructions can be found in the + GitHub repository - github.com/lissy93/web-check +

+ + Configuring +

+ There are some optional environmental variables you can specify to give you access to some additional Web-Checks. + See the README for full list of options. +

+ + + + +{/* +**Configuration Settings**: +- `CHROME_PATH` (e.g. `/usr/bin/chromium`) - The path the the Chromium executable +- `PORT` (e.g. `3000`) - Port to serve the API, when running server.js +- `DISABLE_GUI` (e.g. `false`) - Disable the GUI, and only serve the API +- `API_TIMEOUT_LIMIT` (e.g. `10000`) - The timeout limit for API requests, in milliseconds +- `REACT_APP_API_ENDPOINT` (e.g. `/api`) - The endpoint for the API (can be local or remote)

*/} + +
+ API Documentation
{/* eslint-disable-next-line*/} @@ -218,18 +291,6 @@ const About = (): JSX.Element => { Neither your IP address, browser/OS/hardware info, nor any other data will ever be collected or logged. (You may verify this yourself, either by inspecting the source code or the using developer tools)

-
- Support -

- If you've found something that doesn't work as expected, or would like to ask any questions, - you can open a ticket at github.com/lissy93/web-check/issues -

-
- Sponsor -

- If you've found this service useful, consider sponsoring me on - GitHub - github.com/sponsors/Lissy93 💖 -