Closed kmafoudji closed 8 months ago
Hello team, Any Help on this ?
You didn't show how the template was modified. Have you tried running the app with the flask --debug run
command? The console should then display error messages, and that should help you understand what's happening.
Thank you for your answer. I'm giving more détails here :
[kerko.templates] layout = "custom-theme/layout.html.jinja2"
After that i runned the following commands : flask --debug kerko clean everything flask --debug kerko sync At the first time i get this message :
I runned a second time the sync command, which executed correctly until the end. I stopped and started kerko. On my page I got this :
Results after running flask --debug run :
It works if I comment the the 2 lines and restart kerko : [kerko.templates] layout = "custom-theme/layout.html.jinja2"
Assuming that ~/kerkoapp
is where the wsgi.py
file is located, it looks like your template should be in ~/kerkoapp/kerkoapp/templates/custom-theme
instead of ~/kerkoapp/custom-theme
.
If that still doesn't work, then the idea of running the app in debug mode was to use the app at http://127.0.0.1:5000
, and check the console for error messages (if you're running it on a remote server, you could use the curl
command to perform requests). If there are no errors, then the issue probably lies in your service configuration, or your nginx configuration.
It's working after i moved my template in the correct location : ~/kerkoapp/kerkoapp/templates/custom-them Thank you will go on my customization.
Glad that it works! Wishing you all the best with the project.
Hello Team, I followed the answers provided on post #40 to make slight changes to the kerkoapp home page. For example, to change the color of the nav bar, I did this:
What did I miss? Thank you for your help