Skip to content

Instantly share code, notes, and snippets.

@SuThaw
Created August 20, 2014 09:27
Show Gist options
  • Save SuThaw/8382f453220ffd57c676 to your computer and use it in GitHub Desktop.
Save SuThaw/8382f453220ffd57c676 to your computer and use it in GitHub Desktop.
verbose: logger hook loaded successfully.
verbose: request hook loaded successfully.
verbose: Loading the app's models and adapters...
verbose: Loading app models...
verbose: Loading app adapters...
verbose: Loading blueprint middleware...
verbose: blueprints hook loaded successfully.
verbose: Loading runtime custom response definitions...
verbose: responses hook loaded successfully.
verbose: controllers hook loaded successfully.
verbose: Loading policy modules from app...
verbose: Finished loading policy middleware logic.
verbose: policies hook loaded successfully.
verbose: Loading app services...
verbose: services hook loaded successfully.
verbose: csrf hook loaded successfully.
verbose: cors hook loaded successfully.
Wed, 20 Aug 2014 09:25:11 GMT i18n:debug will write to /Users/suthaw/Desktop/hhdd/config/locales/en.json
Wed, 20 Aug 2014 09:25:11 GMT i18n:debug read /Users/suthaw/Desktop/hhdd/config/locales/en.json for locale: en
Wed, 20 Aug 2014 09:25:11 GMT i18n:debug will write to /Users/suthaw/Desktop/hhdd/config/locales/es.json
Wed, 20 Aug 2014 09:25:11 GMT i18n:debug read /Users/suthaw/Desktop/hhdd/config/locales/es.json for locale: es
Wed, 20 Aug 2014 09:25:11 GMT i18n:debug will write to /Users/suthaw/Desktop/hhdd/config/locales/fr.json
Wed, 20 Aug 2014 09:25:11 GMT i18n:debug read /Users/suthaw/Desktop/hhdd/config/locales/fr.json for locale: fr
Wed, 20 Aug 2014 09:25:11 GMT i18n:debug will write to /Users/suthaw/Desktop/hhdd/config/locales/de.json
Wed, 20 Aug 2014 09:25:11 GMT i18n:debug read /Users/suthaw/Desktop/hhdd/config/locales/de.json for locale: de
verbose: i18n hook loaded successfully.
verbose: session hook loaded successfully.
verbose: Loading app Gruntfile...
verbose: Tracking new grunt child process...
verbose: grunt hook loaded successfully.
verbose: http hook loaded successfully.
verbose: Overriding ejs engine config with ejslocals to implement layout support...
verbose: Configuring socket (ws://) server...
verbose: sockets hook loaded successfully.
verbose: Loading user hooks...
verbose: Located 0 user hook(s)...
verbose: views hook loaded successfully.
verbose: Setting default Express view engine to ejs...
verbose: Initialized 0 user hook(s)...
verbose: userhooks hook loaded successfully.
verbose: Loading adapter ( sails-mongo ) for user from `node_modules` directory...
-----------------------------------------------------------------
Excuse my interruption, but it looks like this app
does not have a project-wide "migrate" setting configured yet.
(perhaps this is the first time you're lifting it with models?)
In short, this setting controls whether/how Sails will attempt to automatically
rebuild the tables/collections/sets/etc. in your database schema.
You can read more about the "migrate" setting here:
http://sailsjs.org/#/documentation/concepts/ORM/model-settings.html?q=migrate
In a production environment (NODE_ENV==="production") Sails always uses
migrate:"safe" to protect inadvertent deletion of your data.
However during development, you have a few other options for convenience:
1. safe - never auto-migrate my database(s). I will do it myself (by hand)
2. alter - auto-migrate, but attempt to keep my existing data (experimental)
3. drop - wipe/drop ALL my data and rebuild models every time I lift Sails
What would you like Sails to do?
info: To skip this prompt in the future, set `sails.config.models.migrate`.
info: (conventionally, this is done in `config/models.js`)
warn: ** DO NOT CHOOSE "2" or "3" IF YOU ARE WORKING WITH PRODUCTION DATA **
prompt: ?: verbose: Grunt :: Running "clean:dev" (clean) task
verbose: Grunt :: Cleaning .tmp/public...
verbose: Grunt :: OK
verbose: Grunt :: Running "jst:dev" (jst) task
verbose: Grunt :: >> Destination not written because compiled files were empty.
verbose: Grunt :: Running "less:dev" (less) task
verbose: Grunt :: File .tmp/public/styles/importer.css created: 0 B → 619 B
verbose: Grunt :: Running "copy:dev" (copy) task
verbose: Grunt :: Copied 3 files
verbose: Grunt :: Running "coffee:dev" (coffee) task
verbose: Grunt :: Running "sails-linker:devJs" (sails-linker) task
verbose: Grunt :: padding length 4
verbose: Grunt :: File "views/layout.ejs" updated.
verbose: Grunt :: Running "sails-linker:devStyles" (sails-linker) task
verbose: Grunt :: padding length 4
verbose: Grunt :: File "views/layout.ejs" updated.
verbose: Grunt :: Running "sails-linker:devTpl" (sails-linker) task
verbose: Grunt :: padding length 4
verbose: Grunt :: File "views/layout.ejs" updated.
verbose: Grunt :: Running "sails-linker:devJsJade" (sails-linker) task
verbose: Grunt :: Running "sails-linker:devStylesJade" (sails-linker) task
verbose: Grunt :: Running "sails-linker:devTplJade" (sails-linker) task
Running "watch" task
Waiting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment