3 ms·
Maybe a silly question, but is there anything one needs to consider before deploying this to, let's say, Heroku?
by benhowdle 8y ago
Maybe a silly question, but is there anything one needs to consider before deploying this to, let's say, Heroku?
- notduncansmith 8y agoNah
- dammod 8y agoAs 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 8y agoAce! 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?
- asadlionpk 8y agoThis should help: https://github.com/remoteinterview/zero#running-on-cloud https://github.com/remoteinterview/zero#running-on-cloud
- benhowdle 8y agoOh, never spotted this: https://github.com/remoteinterview/zero#running-on-cloud https://github.com/remoteinterview/zero#running-on-cloud Oops. Couldn't see it on the main docs site (https://zeroserver.io/ https://zeroserver.io/)