• Threads
  • Categories
  • Users
  • GitHub
  • Documentation
  • Discord
  • forum
  • group
  • search
  • chevron_right Threads
  • label Dev Development

How Can I Use Misago.Faker?

cutiemama
Nov. 10, 2020
chat_bubble_outline 3
  • check_circle
  • link
    cutiemama
    Members 7 posts
    Nov. 10, 2020, 11:57 a.m. Nov. 10, 2020, 11:57 a.m.
    link

    Hi,

    Dummy data is required for testing to compare before and after use of Redis for Caching.
    As far as I know, Misago.faker is being provided in Misago, but I don't know how to use it.

    createfakethreads.py, createfakeposts.py commands results in errors related to python relative path.

    How can I put about 1,000 dummy data in my local Misago Service?

  • link
    rafalp
    Project Lead 1637 posts
    Nov. 11, 2020, 4:04 p.m. Nov. 11, 2020, 4:04 p.m.
    link
    check_box

    Marked as best answer by Nov. 16, 2020, 10:40 a.m..

    Those are Django management commands, and need to be ran through manage.py fom the console:

    ./dev manage.py createfakethreads 100

  • link
    cutiemama
    Members 7 posts
    Nov. 16, 2020, 7:56 a.m. Nov. 16, 2020, 7:56 a.m.
    link
    @rafalp has written:

    Those are Django management commands, and need to be ran through manage.py fom the console:

    ./dev manage.py createfakethreads 100

    Oh, I dont' use Docker. So I ran through python manage.py createfakethreads 1000.

    And I have one more question.
    I want to use redis or memcached for Misago without Docker.
    Is it right that I use pip install redis-django for Misago?
    If it's not possible, How can I get the guide about setting Redis for Misago without Docker?

    I want to compare Redis and Memcached performance for Misago.

    And then, What is difference Redis or Memcached and misago cache (misago.gitbook.io/docs/cache#invalidating-cache) ?

  • link
    rafalp
    Project Lead 1637 posts
    Nov. 16, 2020, 10:39 a.m. Nov. 16, 2020, 10:39 a.m.
    link

    For next question, please follow the "single question, single thread" rule.

There are no more posts in this thread.

  • This site uses cookies to gather statistical data for use in traffic analysis. Header photo by Joanna Malinowska.
  • GitHub
  • Documentation
  • Discord
  • Terms of service
  • Privacy policy
powered by misago