Dev-Pool / DevPool

1 stars 2 forks source link

Deploy to Heroku #12

Open corey-mitchell opened 6 years ago

corey-mitchell commented 6 years ago

We received an error. My need to look into with a TA on Tuesday.

corey-mitchell commented 6 years ago

We should check client/config/index.js line 17. The port is only set up for localhost use. Perhaps changing this to process.env.PORT would help?

corey-mitchell commented 6 years ago

Need to move Package.json into global folder. Also, need to get heroku to deploy server and client simultaneously.

corey-mitchell commented 6 years ago

Current error:

2018-09-27T02:47:37.286834+00:00 app[web.1]: > node ./server.js 2018-09-27T02:47:37.286835+00:00 app[web.1]: 2018-09-27T02:47:38.625057+00:00 app[web.1]: Thu, 27 Sep 2018 02:47:38 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13 2018-09-27T02:47:38.820996+00:00 app[web.1]: Unhandled rejection SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:3306