fleet/website
Mike McNeil 39fea292b9
Tool: Bring back mergefreeze API integration (#6905)
* Tool: Bring back mergefreeze API integration

Context: https://github.com/fleetdm/fleet/pull/5628#issuecomment-1196175485

Unfortunately, the API doesn't work.

* Lay out how this would work in the database - but instead, do it ephemerally for now

* Remove model

* Maintain state (the easy way for now)
2022-07-27 00:36:31 -05:00
..
api Tool: Bring back mergefreeze API integration (#6905) 2022-07-27 00:36:31 -05:00
assets Tool: Bring back mergefreeze API integration (#6905) 2022-07-27 00:36:31 -05:00
config Add redirects for articles that have changed category (#6865) 2022-07-26 00:26:22 -05:00
scripts Tool: Bring back mergefreeze API integration (#6905) 2022-07-27 00:36:31 -05:00
tasks Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
views Website: Remove "as seen on techcrunch" from homepage (#6869) 2022-07-26 13:12:29 +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 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: sails-postgresql@^2.0.0 » sails-postgresql@^5.0.0 (#6780) 2022-07-21 17:52:45 -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.