{"id":7,"date":"2025-01-26T03:08:26","date_gmt":"2025-01-25T19:08:26","guid":{"rendered":"http:\/\/123.57.242.150:5000\/?p=1"},"modified":"2025-01-26T03:08:26","modified_gmt":"2025-01-25T19:08:26","slug":"ai-brainstorm","status":"publish","type":"post","link":"https:\/\/en.blog.liu-qi.cn\/2025\/01\/26\/ai-brainstorm\/","title":{"rendered":"Simple Project Deployment Tutorial with AI Brainstorming (Using BaoTa Panel)"},"content":{"rendered":"\n<p class=\"has-large-font-size wp-block-paragraph\">Let me add a disclaimer first: I don&#8217;t work in programming-related jobs and haven&#8217;t studied it much. My relationship with code is like it knows me but I don&#8217;t know it\u2014all my code comes from AI generation. I can only guarantee it runs in my environment, but cannot guarantee its security or performance, let alone standards and elegance. Please use and follow with caution.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When developing AI Brainstorm, I actually just used the Cursor software to SSH into a server with BaoTa Panel installed and completed the code there (I didn&#8217;t want to set up a development environment on my local computer). I deployed it right there after writing. So it&#8217;s not that I don&#8217;t want to explain other deployment methods; it&#8217;s mainly that I only know this one. However, I think if you want to deploy locally or use other less complex methods, it shouldn&#8217;t be difficult with AI assistance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, let&#8217;s start with deployment on BaoTa Panel:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, download the project files directly from GitHub or a cloud storage service.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/pic.liu-qi.cn\/i\/2025\/01\/28\/6798be8f80bdd.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then, click &#8216;Files&#8217; in the left menu of the BaoTa Panel to open the file manager. Upload the downloaded archive to the \/www\/wwwroot\/ path and extract it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/pic.liu-qi.cn\/i\/2025\/01\/28\/6798bfc8aed28.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If downloaded from GitHub, the folder should look like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/pic.liu-qi.cn\/i\/2025\/01\/28\/6798c01c0273b.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Open this folder in the file manager and modify the AI model ID, API KEY, and endpoint in the .env.example file to your own. (Platforms like Doubao, Zhipu, Tongyi, iFlytek Spark, DeepSeek, etc., all offer free credits.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then, rename the .env.example file to .env.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/pic.liu-qi.cn\/i\/2025\/01\/28\/6798c8c021996.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you change the model, remember to also update the main.js file in the \/static\/js\/ folder at the beginning:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/pic.liu-qi.cn\/i\/2025\/01\/28\/6798c9b3b98dd.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next, find the left menu: Website\u2014Python Project\u2014Add Python Project.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/pic.liu-qi.cn\/i\/2025\/01\/28\/6798c0a1c033a.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Select the folder where you uploaded the files as the project path. The project name will be filled in automatically. Choose Python version 3.8, select &#8216;Command Line&#8217; as the startup method, and enter the startup command:<br>\/www\/server\/pyporject_evn\/AI-BrainStorm-main_venv\/bin\/python3 -m uvicorn app.main:app &#8211;host 0.0.0.0 &#8211;port 8000<br>(Remember to open port 8000 in the firewall.)<br>No environment variables are needed. Set the startup user to www and install dependencies.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/pic.liu-qi.cn\/i\/2025\/01\/28\/6798c1300e91c.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then, wait for a while. BaoTa will automatically create a virtual environment and install dependencies.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/pic.liu-qi.cn\/i\/2025\/01\/28\/6798c2402c33d.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/pic.liu-qi.cn\/i\/2025\/01\/28\/6798c5348ded3.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After completion, the project status will automatically change to &#8216;Running&#8217; (if not, start it manually).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/pic.liu-qi.cn\/i\/2025\/01\/28\/6798c57311824.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, enter http:\/\/your_server_ip:8000\/ in the browser address bar to open the AI Brainstorm page. (If it doesn&#8217;t open, it&#8217;s likely because the firewall hasn&#8217;t allowed port 8000.)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/pic.liu-qi.cn\/i\/2025\/01\/28\/6798c61407fd9.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now it&#8217;s ready to use normally.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial provides a step-by-step guide to deploying an AI brainstorming project using the BaoTa panel for beginners with no coding experience.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-7","post","type-post","status-publish","format-standard","hentry","category-articles"],"_links":{"self":[{"href":"https:\/\/en.blog.liu-qi.cn\/index.php\/wp-json\/wp\/v2\/posts\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en.blog.liu-qi.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/en.blog.liu-qi.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/en.blog.liu-qi.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/en.blog.liu-qi.cn\/index.php\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":0,"href":"https:\/\/en.blog.liu-qi.cn\/index.php\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"wp:attachment":[{"href":"https:\/\/en.blog.liu-qi.cn\/index.php\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/en.blog.liu-qi.cn\/index.php\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/en.blog.liu-qi.cn\/index.php\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}