sails.js on heroku

1,478 views
Skip to first unread message

Chad Norwood

unread,
Apr 8, 2013, 1:24:52 PM4/8/13
to sai...@googlegroups.com
Hey,

I just wanted to share the fact that sails.js works great on heroku, pretty much right out of the box. I only had to do a few minor changes to get it working, you can view details here:

I am quite pleased by how easy it was - keep up the good work!

cheers,
chad

Clint Laskowski

unread,
Apr 8, 2013, 1:34:02 PM4/8/13
to sai...@googlegroups.com
This is very cool, Chad. Thanks for sharing. I was literally just thinking about how I might deploy anything I develop with SailsJS!

-- Clint

Clint Laskowski, CISSP, CISM

twitter: @Clint326

Chadrick Mahaffey

unread,
Apr 8, 2013, 3:49:43 PM4/8/13
to clint.l...@gmail.com, sai...@googlegroups.com
Yes! Good to know Chad. I'll be deploying there soon...

Jeff Smith

unread,
Apr 8, 2013, 4:57:57 PM4/8/13
to Chadrick Mahaffey, clint.l...@gmail.com, sai...@googlegroups.com
Very nice!!! I can't wait to try it out.
--
Jeff M Smith
 

Chad Norwood

unread,
Apr 13, 2013, 3:49:21 PM4/13/13
to sai...@googlegroups.com
Thanks, guys.  I made a couple small updates.  I added support for CORS and basic authentication using API KEY.
Look at the commit msgs for more. https://github.com/chadn/heroku-sails

As a sidenote, i wasn't sure where custom code should live, so i created a lib directory.
I also couldn't figure out how to get policies to work the way i wanted, so i left some of that logic 
in the lib/authenKey.js file, which is less than ideal.

cheers,
chad

Cheers,
Chad
Reply all
Reply to author
Forward
0 new messages