Re:Show HN: Zero – A fast, zero-configuration server for Rea...
by benhowdle on Tuesday February 26, 2019 @11:44AM
(#19255862)
Maybe a silly question, but is there anything one needs to consider before deploying this to, let's say, Heroku?
[ Parent
| on HN ]
Re:Show HN: Zero – A fast, zero-configuration server for Rea...
by dammod on Tuesday February 26, 2019 @12:06PM
(#19256120)
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.
Re:Show HN: Zero – A fast, zero-configuration server for Rea...
by benhowdle on Tuesday February 26, 2019 @12:08PM
(#19256145)
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?
Re:Show HN: Zero – A fast, zero-configuration server for Rea...
by asadlionpk on Tuesday February 26, 2019 @02:46PM
(#19257666)
This should help: https://github.com/remoteinterview/zero#running-on-cloud
Re:Show HN: Zero – A fast, zero-configuration server for Rea...
by benhowdle on Tuesday February 26, 2019 @12:29PM
(#19256378)
Oh, never spotted this: https://github.com/remoteinterview/zero#running-on-cloud
Oops.
Couldn't see it on the main docs site (https://zeroserver.io/)
Re:Show HN: Zero – A fast, zero-configuration server for Rea...
by notduncansmith on Tuesday February 26, 2019 @12:03PM
(#19256090)
Nah