• Members 17 posts
    Aug. 14, 2018, 2:41 p.m.

    Hello everyone, I have added support for cookiecutter in the past few days.
    If you don't know what a cookiecutter is, visit the webpage. Cookiecutter is a tool for quickly launching projects. CookieCutter misago was cloned from cookiecutter-django with some modifications. Cookiecutter-misago is very easy to start misago. First you need to install cookiecutter:

    Pip install "cookiecutter>=1.4.0"

    Then use cookiecutter to install cookiecutter-misago

    cookiecutter https://github.com/pydanny/cookiecutter-django

    In the next configuration item, according to your needs configuration, you can refer to the following link:
    Added two settings, chinese_user and cloud_storage.
    Chinese_user: Optimized for Chinese users, greatly improving the installation speed. If you are not a Chinese user, please keep the default.
    Cloud_storage: Cloud storage can be set up, currently supporting OSS for Chinese users, QiNiu, and s3 for global users. You can also set it to None if you don't need a cloud service!
    After setting, you only need to enter the project you set, execute two commands to start the service.

    Docker-compose -f local.yml build
    Docker-compose -f local.yml up

    Then open your browser and access
    For more settings, you can visit: cookiecutter-django.readthedocs.io/en/latest/
    You can also use cookiecutter-misago to deploy your website and visit this page for the way to deploy .
    The deployed component is docker+caddy+postgres
    You can simply think of caddy as nginx + letsencryopt