deprecated-packages / open-training

[READ-ONLY] Free platform for organizing lectures, from creating, over registration, to payments and lector provisions
https://github.com/TomasVotruba/open-project
MIT License
5 stars 0 forks source link

Heroku #6

Closed JanMikes closed 6 years ago

JanMikes commented 6 years ago

Closes #5

TomasVotruba commented 6 years ago

Thanks bro :+1:

What exactly was the issue line that fixed redirects?

JanMikes commented 6 years ago

Changes that needed to be done apart of changes you can see in this pr:

 heroku config:set APP_SECRET=tUDU6uTmkDg5ArRcvh3Dr56tTvkNT3Ag
 heroku buildpacks:set heroku/nodejs
 heroku buildpacks:set heroku/php --index 2

Note that heroku config:set APP_ENV=prod was done already before.

JanMikes commented 6 years ago

Tbh i have no idea, the redirects worked for me without any change. I think it was browser cache or some other shit.

Other problems i could find out by running heroku logs --tail, which shows server logs, so i knew exactly what to fix (missing ext-intl in composer.json) and there was one more, missing env variable APP_SECRET:

screenshot 2018-08-16 23 55 15
TomasVotruba commented 6 years ago

The page still doesn't work for me: https://pehapkari-open-lecture.herokuapp.com/

image

Should I clear some cache?

JanMikes commented 6 years ago

I am almost sure this will get fixed after we set up deployment from heroku branch, i deployed manually now, please can you re-try?

TomasVotruba commented 6 years ago

It works :+1: Thanks

JanMikes commented 6 years ago

It was a pleasure.

If there is anything else i can help you with regards the heroku, just ping me or add comment, i will stay subscribed to this 😉