Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Tanzawa blogging system / indieweb ready

Tanzawa blogging system / indieweb ready

Scheduled Pinned Locked Moved App Wishlist
28 Posts 5 Posters 2.2k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • timconsidineT timconsidine

    @robi https://github.com/rmdes/tanzawa

    rmdesR Offline
    rmdesR Offline
    rmdes
    wrote on last edited by
    #16

    SQL path : Yes I have finally made it ! thanks to this https://django-environ.readthedocs.io/en/latest/

    but thanks @robi

    But I still have a few things blocking me, like, tanzawa need to know the domain it is installed into
    and this is configured in the .env file but the thing is I don't want people to have to clone the github repo, add their domain, build, push and install to their cloudron

    Ideally I need to add something so that the domain variable is passed to the .env file before it runs the first DB migration (which create the sql file the first time and apply migration the second time)

    Also now in the current state of my dockerfile, I have managed to put all the code in /app/code and only the .env and the staticfile & micropub media folder in /app/data/ which is exactly what I wanted...

    So this is moving forward..

    rmdesR 1 Reply Last reply
    0
    • rmdesR rmdes

      SQL path : Yes I have finally made it ! thanks to this https://django-environ.readthedocs.io/en/latest/

      but thanks @robi

      But I still have a few things blocking me, like, tanzawa need to know the domain it is installed into
      and this is configured in the .env file but the thing is I don't want people to have to clone the github repo, add their domain, build, push and install to their cloudron

      Ideally I need to add something so that the domain variable is passed to the .env file before it runs the first DB migration (which create the sql file the first time and apply migration the second time)

      Also now in the current state of my dockerfile, I have managed to put all the code in /app/code and only the .env and the staticfile & micropub media folder in /app/data/ which is exactly what I wanted...

      So this is moving forward..

      rmdesR Offline
      rmdesR Offline
      rmdes
      wrote on last edited by rmdes
      #17

      You can try it with : cloudron install --image buzzworkers/tanzawa:7 --no-wait

      and then cloudron update --image buzzworkers/tanzawa:8 --no-wait --app your.domain.com

      why these two tags ?

      Because I have not figured out how to do the steps of the README.md (tanzawa repo)
      in one single shot and directly boot the python server.

      So tag number 7 setup the database correctly (but then stay in migration loop)
      and tag8 comment the migration parts (start.sh) so that the server boots

      using the web terminal to python3 /app/code/apps/manage.py createsuperuser
      to create your admin user.

      Dashboard is at your.domain.com/a/
      Wordpress import at your.domain.com/wordpress

      I would love to have this last steps of the setup completely automated but I lack know-how

      rmdesR 1 Reply Last reply
      1
      • rmdesR rmdes

        You can try it with : cloudron install --image buzzworkers/tanzawa:7 --no-wait

        and then cloudron update --image buzzworkers/tanzawa:8 --no-wait --app your.domain.com

        why these two tags ?

        Because I have not figured out how to do the steps of the README.md (tanzawa repo)
        in one single shot and directly boot the python server.

        So tag number 7 setup the database correctly (but then stay in migration loop)
        and tag8 comment the migration parts (start.sh) so that the server boots

        using the web terminal to python3 /app/code/apps/manage.py createsuperuser
        to create your admin user.

        Dashboard is at your.domain.com/a/
        Wordpress import at your.domain.com/wordpress

        I would love to have this last steps of the setup completely automated but I lack know-how

        rmdesR Offline
        rmdesR Offline
        rmdes
        wrote on last edited by
        #18

        Another thing I would like to improve : it seems the sql file is run by root (at least the file is owned by root) I don't think it's a good idea/best practice, so I'm wondering if by running the last command of the start.sh, the python server, with gosu cloudon:cloudron would solve this..

        rmdesR 1 Reply Last reply
        1
        • rmdesR rmdes

          Another thing I would like to improve : it seems the sql file is run by root (at least the file is owned by root) I don't think it's a good idea/best practice, so I'm wondering if by running the last command of the start.sh, the python server, with gosu cloudon:cloudron would solve this..

          rmdesR Offline
          rmdesR Offline
          rmdes
          wrote on last edited by
          #19

          I'm almost done with it !

          • got the sqlite database in /app/data/
          • .env file symlink (but can't write to it yet??!!)
          • /app/code contains all the code and packaging env

          Issues

          • I'm not sure what's happening this weekend but my container kept starting in migration loop
          • if I recovery into the container and start the python server, all is fine, connected, writable
          • when I restart, instead of skipping the steps of migration and start the server, it bootloop in migration, while saying there is no migration to do (obviously, everything is like 1 step before working....Grrrr)
          robiR 1 Reply Last reply
          2
          • rmdesR rmdes

            I'm almost done with it !

            • got the sqlite database in /app/data/
            • .env file symlink (but can't write to it yet??!!)
            • /app/code contains all the code and packaging env

            Issues

            • I'm not sure what's happening this weekend but my container kept starting in migration loop
            • if I recovery into the container and start the python server, all is fine, connected, writable
            • when I restart, instead of skipping the steps of migration and start the server, it bootloop in migration, while saying there is no migration to do (obviously, everything is like 1 step before working....Grrrr)
            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #20

            @rmdes said in Tanzawa blogging system / indieweb ready:

            • when I restart, instead of skipping the steps of migration and start the server, it bootloop in migration, while saying there is no migration to do (obviously, everything is like 1 step before working....Grrrr)

            Maybe the migration needs to write somewhere for indicating completion.

            Conscious tech

            rmdesR 1 Reply Last reply
            0
            • robiR robi

              @rmdes said in Tanzawa blogging system / indieweb ready:

              • when I restart, instead of skipping the steps of migration and start the server, it bootloop in migration, while saying there is no migration to do (obviously, everything is like 1 step before working....Grrrr)

              Maybe the migration needs to write somewhere for indicating completion.

              rmdesR Offline
              rmdesR Offline
              rmdes
              wrote on last edited by
              #21

              @robi Actually there is no migration apply, look here : https://github.com/jamesvandyne/tanzawa/issues/179

              rmdesR 1 Reply Last reply
              0
              • rmdesR rmdes

                @robi Actually there is no migration apply, look here : https://github.com/jamesvandyne/tanzawa/issues/179

                rmdesR Offline
                rmdesR Offline
                rmdes
                wrote on last edited by
                #22

                i've learned a few stuff packaging go-ssb-rooms, will start from scratch for Tanzawa and hopefully have it working smooth

                rmdesR jdaviescoatesJ 2 Replies Last reply
                2
                • rmdesR rmdes

                  i've learned a few stuff packaging go-ssb-rooms, will start from scratch for Tanzawa and hopefully have it working smooth

                  rmdesR Offline
                  rmdesR Offline
                  rmdes
                  wrote on last edited by rmdes
                  #23

                  In this example I think there are some ideas that I can take for Tanzawa, mainly
                  getting the domain used by cloudron into a variable, which would allow the docker image to be agnostic and not tied/built to a specific domain (mine in my case)

                  1 Reply Last reply
                  0
                  • rmdesR Offline
                    rmdesR Offline
                    rmdes
                    wrote on last edited by
                    #24

                    I never managed to get it working properly, but I have not yet abandoned to package this app, just been super busy on IRL stuff, right now my blog is powered by micro.blog I just wanted something to write & be able to cross-post to different networks (twitter,bluesky,nostr,mastodon) knowing I will be able to export all this data without issues in the future.

                    But, Tanzawa recommended method to be deployed isn't far away from a deploy on cloudron
                    so I'm going to reconsider this package when I have a bit more time https://github.com/jamesvandyne/tanzawa/blob/main/Dockerfile.fly

                    1 Reply Last reply
                    1
                    • robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #25

                      Perhaps @Kubernetes will be interested?

                      Conscious tech

                      1 Reply Last reply
                      0
                      • rmdesR rmdes

                        i've learned a few stuff packaging go-ssb-rooms, will start from scratch for Tanzawa and hopefully have it working smooth

                        jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #26

                        @rmdes said in Tanzawa blogging system / indieweb ready:

                        i've learned a few stuff packaging go-ssb-rooms

                        It'd be great to have that package in the App Store. Where is the link/ thread? Thanks!

                        I use Cloudron with Gandi & Hetzner

                        rmdesR 1 Reply Last reply
                        1
                        • jdaviescoatesJ jdaviescoates

                          @rmdes said in Tanzawa blogging system / indieweb ready:

                          i've learned a few stuff packaging go-ssb-rooms

                          It'd be great to have that package in the App Store. Where is the link/ thread? Thanks!

                          rmdesR Offline
                          rmdesR Offline
                          rmdes
                          wrote on last edited by
                          #27

                          @jdaviescoates Oh I have removed my current broken package long ago, did not wanted people to install something half broken, but I was able to make it run, but not yet using cloudron hooks for domain, users, database, so it was basically just running with sqlite
                          and it was a bit messy to install.

                          I would really love to see this packaged, it's a neat single-user solution to run a blog, very clean, light

                          1 Reply Last reply
                          1
                          • rmdesR Offline
                            rmdesR Offline
                            rmdes
                            wrote on last edited by rmdes
                            #28

                            There is a remain of my setup here : https://github.com/rmdes/tanzawa
                            but the setup should be ravamped following the official production ready way to install tanzawa from here https://github.com/jamesvandyne/tanzawa/blob/main/Dockerfile.fly

                            1 Reply Last reply
                            1
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Bookmarks
                            • Search