Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run sails console on a different port then sails lift

How do I run sails console and sails lift at the same time?

From what I have read (https://github.com/balderdashy/sails/tree/master/lib/app) I need to use sails.load instead of sails.lift. I do not have the slightest idea where I need to put that and how it connects with sails console. Any help would greatly be appreciated.

like image 510
user2517182 Avatar asked Jul 01 '15 19:07

user2517182


1 Answers

sails lift and sails console natively handle some parameters. So you can use:

  • sails lift to run your app on the default port (1337 if you don't modify your config)
  • sails console --port 1338 in an other tab/window to run the console on another port
like image 198
Yann Bertrand Avatar answered Sep 25 '22 07:09

Yann Bertrand