Heroku hosting results in an error
NotQuiteZook opened this issue · 8 comments
What is your Scenario?
I forked the code for this project and attempted to host this on heroku.
What is the Current behavior?
After hosting it and Heroku declaring it as "published," I went to the site and saw the heroku error screen.
What is the Expected behavior?
From what I saw in heroku dashboard, everything should of gone smoothly.
What is your public website URL? (or attach your complete example)
https://java-lessons.herokuapp.com/
What is your TestCafe test code?
The default from the github
Your complete configuration file
No response
Your complete test report
No response
Screenshots
Steps to Reproduce
- Fork the github to a presonal repo
- Host it on heroku
- Go to the site
TestCafe version
Using Heroku, cannot do this
Node.js version
No response
Command-line arguments
Using Heroku, cannot do this
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response
make a start script in package.json
But what file should i designate as the start file? index.js? or some other file?
I am not familiar with Heroku. Could you please write step-by-step instructions on how to reproduce the issue?
- Fork the Repo to your personal account
- Log on to heroku
- Click the "New button and then the "Create new app" button.
- Name the app
- Create the app
- Go to the "Deploy" section
- Search the repo, in this case it would be miherlosev/testcafe-hammerhead
- Click deploy main
- Then visit the site
The issue should be apparent.
Fork the Repo to your personal account
Could you please share a link to the repo that I need to fork?
I've repeated the steps to reproduce and got the same result - the 'Application error' on deploying the miherlosev/testcafe-hammerhead
repository.
However, it's not a bug. The testcafe-hammerhead
repository is not a repository with Heroku app sources. So, correct running is not guaranteed after a deploy.
Try to find the cause of the issue or ask StackOverflow about it.