FlaskBB
A lightweight forum software in Flask
shingprofile picture

shing

Member
Last seen 6 years ago
Joined:
Posts:
16
Topics:
2

translates as: "Have a test"

:)

hipmatt wrote:

Also when i change the IP in the config file and run the program, it still runs on http://127.0.0.1:5000

The bit I'm not 100% sure about is - you might need to set up something like Apache web server first. @sh4nks will know more than me. I have Apache running by default and I think (but can't 100% remember) I set it up to serve my FlaskBB back in August, but my development is a slow burner and I've forgotten!

If you're on a different computer you need to point your web browser towards the FlaskBB computer. 127.0.0.1 is another way of looking at the homepage of whatever computer you're using - it looks internally instead of externally for the website.

There's different ways of fixing this. I most permanent method is to attach a free domain name to your FlaskBB computer using a service like no-ip.

Alternatively (I think this might work), if you log onto your FlaskBB computer and visit what is my IP, then type that IP address followed by a :5000 into a different computer, it might work I'm not 100% sure.

omg I'm so excited, it's working! Thank you @sh4nks!

PS: Not sure if you have noticed the lack of activity around FlaskBB - it's just temporary as I am trying to finish my studies which I hope I am done with soon!

all good mate

enter image description here

Thanks @sh4nks! That worked!

Are error logs stored somewhere? Whatever changes I made caused an error:

enter image description here

But the terminal doesn't show any error messages:
enter image description here

Thank you for all your help and responses, I really love this platform you've created and, once I've got past these newbie steps, I can't wait to get using it! I run a website, that's had about 3million views, that I really want to host myself improve 😀

So... does anyone here understand how to migrate changes in .py files for FlaskBB? Because I sure don't.

I'm receiving an error trying to create a new 'SelectField' called 'testfield' in templates/user/change_user_details.html

  1. /user/models.py

I add the following line:
enter image description here

  1. /user/forms.py

I add the following:
enter image description here

  1. /management/forms.py

I add the following:
enter image description here

  1. /templates/user/change_user_details.html

I add the following:
enter image description here

  1. By my understanding, to migrate changes I use this command:
    enter image description here

  2. I then run the server:
    enter image description here

  3. I receive this error message:
    enter image description here

  4. Also when I check SQLite, 'testfield' has not been created:
    enter image description here

What am I doing wrong?

man why do the css files have to be one giant wall of text 🤣

I cleaned up the default styles.css for others to use:

edit by sh4nks: use gist.github.com or something similar for pasting such files.

sh4nks wrote:

shing wrote:

oh just 'flaskbb upgrade'?

to install flaskbb just type flaskbb install

shing wrote:

How do you migrate changes to settings.py?

thanks in advance :)

what do you mean?

Hello Admin! Thank you for replying!

I am struggling with:

1) how to make changes to .py files?
e.g. if I change /flaskbb/fixtures/settings.py
how do I migrate those changes?

Thank you in advance!

How do you migrate changes to settings.py?

thanks in advance :)

oh just 'flaskbb upgrade'?

Now how do I makemigrations? 😀

For future reference - I made the following change and the site began to work:

  1. Server name: localhost:5000

I'm installing using the guide.

I don't know what settings to give the flaskbb.cfg configuration file:

  1. Path to save: (left blank)
  2. Server name: localhost
  3. HTTPS?: n
  4. Postgres/SQLAlchemy: (left blank)
  5. Use redis?: n
  6. Mail server: localhost
  7. SMTP Port: 25
  8. TLS for sending mail?: N
  9. SSL for sending mail?: N
  10. Mail username: (left blank)
  11. Mail password: (left blank)
  12. Mail sender name: (left blank)
  13. Mail sender address: (left blank)
  14. Mail admin email: (left blank)
  15. Logging Config Path: (left blank)

With these settings I then install from the config and run. I receive these messages from the terminal:
enter image description here

Accessing localhost:5000 I only get this and the following messages from the terminal:
enter image description here

Thanks in advance, I'm a bit of a newbie!

test wrote:

This seems cool. I should try it. I wonder if it is lightweight enough for a Raspberry Pi to run it smoothly.

Quoting

Test reply

heading text

Google