Preparation#
- GitHub account (recommended)
- A bank card (UnionPay/MasterCard/VISA/JCB are all acceptable) (no payment required)
- A smart brain and a little bit of English foundation
Register NorthFlank#
Select the "Developer Sandbox" plan#
Create MongoDB Database#
Use MongoDB Atlas[ @白熊 sama ]#
MongoDB Atlas is a cloud database hosting solution launched by MongoDB, offering a free 512MB Mongo database, which is sufficient for light use by small site owners.
After successfully logging in, the website will guide you to create your own database, and then you will see the following interface.
First, click Connect; the first time you create a database, it will ask you to set a username and password.
Then click on Network Access on the right, and add the allowed IP range 0.0.0.0/0 (since we don't know the specific IP when connecting with clew, we can only open all v4).
Finally, return to the main interface, click Connect again, select drivers to connect, and we can see the following interface.
Replace the contents according to the guide and save the Connect String for later use.
Reprint information:
Using Claw Cloud Run to have your own Shiro@白熊喵 at low cost
https://mahiru.tech/posts/default/02
April 20, 2025, 11:52
CC BY-NC-SA 4.0
Deploy Redis Database#
Deploy using Zeabur#
If you are using Zeabur for the first time, you can register using the following invitation link.
The main interface of Zeabur is as follows.
Click New Project
to create a new project.
The project page is as follows.
Click Add Server
to deploy the Redis
database in Databases
.
After deployment, it will automatically return to the project homepage, waiting for the project to show Running
after startup.
Save the following corresponding values for later use.
Deploy Mix Space Backend#
Create a new project#
Choose the region as US Central US - Central
or EU West EU - West
.
Select to create a new service#
Select the image#
Fill in the image address as innei/mx-server:latest
.
Resource configuration#
Select nf-compute-20
, which is 0.2vCPU + 512MB configuration.
Network configuration#
Fill in the port as 2333
and change the protocol to HTTP
.
Check Publicly expose this port to the internet
for public access.
Environment variables#
Please refer to Using Claw Cloud Run to have your own Shiro@白熊 sama at low cost.
Local storage#
Click on "Volumes" in the menu bar.
Select "Create Volume".
In "Configuration", set the Access Mode to Single Read/Write.
Fill in the access path (Container mount path) as /root/.mx-space
.
Deploy Shiro Frontend#
Please refer to official documentation.
https://mx-space.js.org/docs/themes/shiro/deploy
Deploy Kami Frontend#
Note: The Kami theme has been archived; it is recommended to use the Shiro theme.
Please refer to Mix-space kami theme deployment Serverless to save garbage hosts@喵二.
This article is synchronized and updated to xLog by Mix Space. The original link is https://space.hanze.icu/posts/project/mx