FlaskBB
A lightweight forum software in Flask
default profile picture

Jimnotgym

Member
Last seen 7 years ago
Joined:
Posts:
11
Topics:
3

In the docs it suggests creating a virtualenv with Python 2

I installed via the pythonanywhere section, but that suggests Python 3? I'm curious whether that may be contributing to some problems i am seeing. Presuming you developed it on Python 2?

For production I am not going to use pythonanywhere as I want to use Redis, and a different mail server so I could target any version.

I am using pythonanywhere and since they don't have redis I am trying to configure flaskbb without it. when I try and start celery I get this message.

Cannot connect to amqp://guest:**@127.0.0.1:5672//: [Errno 111] Connection refused.
Trying again in 16.00 seconds...

I don't know what to do next!
CELERY_BROKER_URL ="" in my config file

This is a great project!

I am having trouble on my site getting https: to be enforced, I wonder if you could help. I have set PREFERRED_URL_SCHEME = "HTTPS". When I click 'Login' I am taken to HTTP version of the login page. If I manually change URL to 'https:' I get to the right page, so https is working, its just the link is going to the http version!

I am using 'Pythonanywhere' so can't do this at webserver level.

Thanks for your help