1) First install node.js.
2) Go to command prompt and type
npm -g install sails
3) It will install in this path
C:\Users\User\AppData\Roaming\npm\node_modules\sails
4) Creating new Sails Project
sails new honnikeryProject
C:\>sails new honnikeryproject
info: Created a new Sails app `honnikeryproject`!
5) Now lift the server:
C:\>cd honnikeryproject
C:\honnikeryproject>sails lift
C:\honnikeryproject>sails lift
info: Starting app...
info:
info: .-..-.
info:
info: Sails <| .-..-.
info: v0.11.0 |\
info: /|.\
info: / || \
info: ,' |' \
info: .-'.-==|/_--'
info: `--'-------'
info: __---___--___---___--___---___--___
info: ____---___--___---___--___---___--___-__
info:
info: Server lifted in `C:\honnikeryproject`
info: To see your app, visit http://localhost:1337
info: To shut down Sails, press <CTRL> + C at any time.
debug: --------------------------------------------------------
debug: :: Mon Jul 20 2015 15:02:20 GMT+0530 (India Standard Time)
debug: Environment : development
debug: Port : 1337
debug: --------------------------------------------------------
http://localhost:1337
you will see the default home page
No comments:
Post a Comment