Use new Amyboardworld arch for Tulip World
We made a new architecture (on railway) #679 for amyboardworld. It works great! And removes our requirement for modal.
Let's port that to Tulip World as well. Tulip World lets you store messages as well as files, so we should have a type in our DB for that. And amyboardworld files should be separate from Tulip World files. But all the other stuff, tags, search, admin page, discord bot, should carry over. It should use the same railway setup. The admin page can show both ABW and TW files and TW messsages, with the same admin token. Tulip Web should use railway instead of modal, and Tulip on hardware should use urequests in python (world.py) to access the new railway API.
Lastly we'll want a script to reupload all tulip world files to this new DB and copy over the past 100 messages on TW to this new thing as well.
0 条评论