Y
Hacker News
new
|
ask
|
show
|
jobs
by
benhowdle
2665 days ago
Maybe a silly question, but is there anything one needs to consider before deploying this to, let's say, Heroku?
3 comments
dammod
2665 days ago
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.
link
benhowdle
2665 days ago
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?
link
asadlionpk
2665 days ago
This should help:
https://github.com/remoteinterview/zero#running-on-cloud
link
benhowdle
2665 days ago
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/
)
link
notduncansmith
2665 days ago
Nah
link