Cactus Comments is a commenting platform that adds comments to your static website without requiring any server-side code. In this tutorial, you will learn how to install Cactus Comments on macOS.
Open the terminal on your macOS by clicking on the magnifying glass in the top right corner, and typing terminal
in the search bar.
Navigate to the root of your static website project in the terminal. For example, if your website is stored in the Sites
folder, navigate to it by typing:
cd ~/Sites/YOUR-WEBSITE-NAME
npm install --save cactus-comments
Cactus Comments has now been installed as a dependency in your project.
Navigate to the index.html
in your project directory and add the following script tag right after the opening <body>
tag:
<script src="https://unpkg.com/cactus-comments@latest"></script>
Congratulations! You have successfully installed Cactus Comments on your static website on macOS. Your users can now leave comments on your website without requiring any server-side code.
Note that this installation process may vary depending on your specific project environment. Consult the official Cactus Comments documentation for more information.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!