fleet/website
Roberto Dip b2d07e56b5
report error analytics (#6341)
Related to #5898, this reports an anonymized summary of errors stored in Redis into the analytics payload.

For each error stored, this includes:

- A `count` attribute with the number of occurrences of the error
- A `loc` attribute with the 3 topmost lines in the stack trace. Note that stack traces only contain package name + line number (example: github.com/fleetdm/fleet/server.go:12

This also includes a minor refactor around error types.
2022-06-28 16:31:14 -03:00
..
api report error analytics (#6341) 2022-06-28 16:31:14 -03:00
assets report error analytics (#6341) 2022-06-28 16:31:14 -03:00
config Website: Add sales one-pager (#6324) 2022-06-24 14:50:44 +09:00
scripts Website: Fix build script (#6320) 2022-06-21 15:35:13 -05:00
tasks Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
views Added "?tryitnow" to "get-started" buttons (#6401) 2022-06-28 13:56:48 -05:00
.editorconfig Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
.eslintignore Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
.eslintrc Add customer portal and license dispenser to fleetdm.com (#3546) 2022-01-04 20:02:42 -06:00
.gitignore fix gitignore 2021-05-11 16:01:25 -05:00
.htmlhintrc Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
.lesshintrc Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
.npmrc Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
.sailsrc Website: Disable freeze/refreeze logic + gut sailsrc (#5547) 2022-05-03 17:59:10 -05:00
app.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
Gruntfile.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
package.json Website: update marked dependency (#6189) 2022-06-13 13:41:18 +09:00
Procfile Dedupe setting of env var (#87) 2020-12-03 16:11:46 -06:00
README.md Add new script for fleetdm.com schema migrations (#1317) 2021-07-06 21:58:20 -05:00

fleetdm.com

This is where the code for the public https://fleetdm.com website lives.

Test locally

Run the following commands to test the site locally:

npm install -g sails
cd website/
npm install
sails run scripts/build-static-content.js
sails lift

Your local copy of the website is now running at http://localhost:2024!

Wipe the production database

I hope you know what you're doing. The easiest kind of database schema migration:

sails_datastores__default__url='REAL_DB_URI_HERE' sails run wipe

Then when you see the sailboat, hit CTRL+C to exit. All done!

Bugs

To report a bug or make a suggestion for the website, click here.