First, install Termux.
Then install Ruby on Termux
pkg install ruby
Copy the code
Install Jekyll and bundles using the Ruby package management tool gem
gem install jekyll bundle
Copy the code
Generate the Jekyll blog using the command
jekyll new my-awesome-site
Copy the code
Enter the directory
cd my-awesome-site
Copy the code
Start the service
Bundle exec Jekyll serve --host 0.0.0.0 --port 4000 --watchCopy the code
Using a text editor, edit the markdown file in the _posts directory.
Open your browser and you can see the effect
Finally, you can start mapping on the fiber Optic cat to make your blog accessible to the Internet. In this way, the phone can be a blog server.