This repo contains a normal hive.js installation with the files necessary to deploy to heroku. It does not contain any plugins, by default, though.
- DB: MySQL
- Real-time transport: engine.io
- broadcast transport: in-memory
- editors: CodeMirror, CKeditor, MethodDraw
- plugins: none
git clone https://github.com/hivejs/heroku-app "hivejs-heroku" && cd hivejs-heroku
Next, install the plugins you want, see the hive docs.
npm install <...plugins separated by spaces...>
Now, you need to build the client-side code:
npm run build
Add heroku as a git remote repo.
You might need to set NODE_ENV=test
env var before starting the app, to allow hive to create the necessary MySQL tables.
heroku config:set NODE_ENV=test
Finally you need to enable access to MySQL (taken from heroku's docs).
heroku addons:create cleardb:ignite
That's it. Push and ✨!