Added config.production.json for easy installation to heroku (or any other).#433
Added config.production.json for easy installation to heroku (or any other).#433bauripalash wants to merge 2 commits into
Conversation
|
This caused me headaches when I started working with Staticman, too. I did exactly what you did. However, I came to realize that the I do, however, maintain a |
|
Hi @hispanic when I see the convict documentation, my understanding is that any environment variables set in Heroku would override anything in config.production.json. If my understanding is correct, then I think that means I should not need a config.production.json to get this working on Heroku. In @bauripalash pull request, I see there's a config.production.json. Can you please help me understand whether the json file is needed or not for Heroku deployment? Thank you. |
|
@jamesmortensen Correct, a |
|
Thanks for the reply. I did get it working, but I still need to style the form and the comment view. It seems another thing we could use are some standard Staticman CSS templates to make it easier to get started. Thanks for all your work on this. It should be the future for how content is delivered to users. |
For newbie staticman users it was quite a hassle to setup staticman with heroku. It wouldn't work just out of the box. It took me about an hour to understand why this was not working.
This PR will help users to get started with Staticman + Heroku (or any other) pretty easily. Just setup your site and add environment variables to heroku app settings and Done! ❇️