fleet/website
eashaw c4bc41ad4f
Add page titles and descriptions to fleetdm.com (#2082)
* added title to locals in routes

* using title and description if they are passed into the locals

* fix error being thrown if there is no description

* descriptions

* fixed error, updated descriptions

* update twitter card title

* updated descriptions again

* updated twitter title
2021-09-16 16:23:59 +09:00
..
api Add fleetdm.com/press-kit (#1981) 2021-09-10 06:56:29 +09:00
assets Hide remediation field for query detail pages on website (#2051) 2021-09-14 12:55:45 -05:00
config Add page titles and descriptions to fleetdm.com (#2082) 2021-09-16 16:23:59 +09:00
scripts Hide remediation field for query detail pages on website (#2051) 2021-09-14 12:55:45 -05:00
tasks Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
views Add page titles and descriptions to fleetdm.com (#2082) 2021-09-16 16:23:59 +09: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 Receive anonymous usages statistics (#1314) 2021-07-06 15:03:40 -05: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 Documentation image updates (#2071) 2021-09-15 11:19:21 +09: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 Put live documentation on fleetdm.com (#1380) 2021-08-17 19:55:13 -05: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.