First, download the latest version of the Linux-amd64 executable file for AList and place it in an empty folder: Release Latest · AlistGo/alist · GitHub
Go to: Function Compute FC
Select Create Function
Create a Web function, filling in the information as shown in the picture. Upload your folder. Then create!
Enter the control panel of the function that has been created
Go to Code -> Terminal -> New Terminal in sequence
Enter ./alist server
to automatically create a data directory on the left
Replace the content (if you deploy an AList locally, you will also have a data
folder; if you are not cross-version, you can directly overwrite the data
folder; if you are cross-version, you need to manually configure config.json
and replace data.db
). After confirming that the test environment is normal, you can directly deploy the code. It is best to add a reserved instance to avoid cold starts.
Go to Configuration -> Triggers and copy the public HTTPS address. This is your AList backend address. If you have a registered domain name, you can bind a custom domain name for access. If you do not have one, you can use it as a backend API and deploy the AList_Web project on Cloudflare Pages. Tutorial: Teach you how to deploy AList's frontend to CF Pages! Let your AList load in seconds!