Back to front pageView on Hacker News (opens in a new tab)Show HN: Zero – A fast, zero-configuration server for React, Node.js, Markdown (opens in a new tab)zeroserver.io513 pointsby asadm (on Hacker News)7 years agozeroserver.io (opens in a new tab)Jackpot Jill ™ - Official Casino | AustraliaJoin us at Jackpot Jill, your trusted online gaming site. Enjoy safe and secure gaming with a large $7500 welcome bonus and great games.Comments (245) 47 threadsShow all commentsShowing thread 32 of 47[-]benhowdle7 years ago3 replies#Maybe a silly question, but is there anything one needs to consider before deploying this to, let's say, Heroku?notduncansmith7 years ago#Nah[-]dammod7 years ago1 reply#As others have pointed out, make sure to mark files that are not supposed to be exposed to the client by prefixing them with a underscore, otherwise you'll have a bit of a security issue. Otherwise, you're good to go.[-]benhowdle7 years ago1 reply#Ace! but in terms of running it, how would Heroku know how to, ie. if there's no `package.json`, there'll be no `npm run start` defined?asadlionpk7 years ago#This should help: https://github.com/remoteinterview/zero#running-on-cloudbenhowdle7 years ago#Oh, never spotted this: https://github.com/remoteinterview/zero#running-on-cloudOops.Couldn't see it on the main docs site (https://zeroserver.io/)
Show HN: Zero – A fast, zero-configuration server for React, Node.js, Markdown (opens in a new tab)zeroserver.io513 pointsby asadm (on Hacker News)7 years ago
benhowdle7 years ago3 replies#Maybe a silly question, but is there anything one needs to consider before deploying this to, let's say, Heroku?
dammod7 years ago1 reply#As others have pointed out, make sure to mark files that are not supposed to be exposed to the client by prefixing them with a underscore, otherwise you'll have a bit of a security issue. Otherwise, you're good to go.
benhowdle7 years ago1 reply#Ace! but in terms of running it, how would Heroku know how to, ie. if there's no `package.json`, there'll be no `npm run start` defined?
benhowdle7 years ago#Oh, never spotted this: https://github.com/remoteinterview/zero#running-on-cloudOops.Couldn't see it on the main docs site (https://zeroserver.io/)
Comments (245) 47 threads
Show all comments
Showing thread 32 of 47
Oops.
Couldn't see it on the main docs site (https://zeroserver.io/)