Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It does not work on heroku #91

Open
fasilminale opened this issue Sep 20, 2018 · 6 comments
Open

It does not work on heroku #91

fasilminale opened this issue Sep 20, 2018 · 6 comments

Comments

@fasilminale
Copy link

No description provided.

@SitiSchu
Copy link
Member

Yes, it's known. We are working on fixing that.

@fasilminale
Copy link
Author

okay

@redcodemohammed
Copy link

@fasilminale
Well heroku requires your app to listen on a port so you can make it work by adding this to the line in your index.js:

require("http").createServer((req, res)=>res.end("3")).listen(process.env.PORT);

At least that what I did.

@MKRhere
Copy link
Member

MKRhere commented Sep 1, 2019

@redcodemohammed The real issue is Heroku doesn't persist filesystem changes. The Guard has a file based database, which will be reset on restart.

@faizanakram99
Copy link
Member

Yep, you need to use some add-ons for persistent storage

@redcodemohammed
Copy link

@MKRhere Yeah, I had the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants