fleet/website/README.md
Mike McNeil f5f751fdd1
Add new script for fleetdm.com schema migrations (#1317)
* Make sails run wipe-staging just be sails run wipe.

* Add instructions to README

* use latest postgresql adapter + update wipe script  (will probably change this to mysql at some point for consistency)

* Update README.md
2021-07-06 21:58:20 -05:00

2.4 KiB
Vendored

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.