Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
benhowdle
on Feb 26, 2019
|
parent
|
context
|
favorite
| on:
Show HN: Zero – A fast, zero-configuration server ...
Maybe a silly question, but is there anything one needs to consider before deploying this to, let's say, Heroku?
dammod
on Feb 26, 2019
|
next
[–]
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.
benhowdle
on Feb 26, 2019
|
parent
|
next
[–]
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?
asadm
on Feb 26, 2019
|
root
|
parent
|
next
[–]
This should help:
https://github.com/remoteinterview/zero#running-on-cloud
benhowdle
on Feb 26, 2019
|
prev
|
next
[–]
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/
)
notduncansmith
on Feb 26, 2019
|
prev
[–]
Nah
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: