• Members 7 posts
    July 11, 2020, 7:05 p.m.

    Hey guys,

    I'm new to django and I'm trying to create a customized a forum using misago. What I'm trying to do is develop the website locally and after changes are final, push my repo to the server and go live. What is the easiest way of doing that with Misago? What looks very confusing to me is that when I setup misago on the server the repository looks nothing like the dev mode on my local. A simple explanation is much appreciated.

    Thanks

  • July 12, 2020, 3:41 a.m.

    Can you say what customizations are you doing? There may be simpler way to achieve them via features in misago-docker.

  • Members 7 posts
    July 12, 2020, 6:32 p.m.

    Adding a landing page, users can add more content to their profile, etc. I'm more used to seeing the apps in the folder and simply push my new code to the server.

  • July 13, 2020, 1:44 a.m.

    Simplest way for landing page would be to run it under main domain and moving misago under forums.rootsite.com.

    Don't know what content you would like to add to user profiles. Sadly Misago is severly lacking in this field currently, so unless it can be handled by custom profile field, it seems to be "modify Misago JS client" territory. So create fork of main repo, customize frontend directory contents. Build new css/js using gulp build, then copy generated files to the server's misago/theme/static/misago directory, then rebuilding image.

    "Apps in the folder" is supported by Misago: as long as those apps dirs exist in same dir that misagodocker and manage.py exist, you can make Misago load them without having to edit settings.py by defining them as plugins.

    Lets say you have app named myapp, you could upload it on server, then create file named plugins.txt in same directory with following contents:

    myapp
    

    Then rebuild site.

    Also, you can always override Misago version installed from PIP by uploading local misago code directory to server (placing it in same dir that misagodocker exists) and rebuilding.

  • edit

    Thread title has been changed from Noob question.