It offers features that may not be available to other PHP-based CMS, like WordPress Joomla, or Drupal. For one, it doesn’t need a database server, call it database-less. All of your content is stored in the content folder in Markdown (.md) files and the entire site structure and content are generated by Publii CMS. It comes with features that you need like SEO-friendly design, flexible CSS framework, and more. For more about Publii CMS, please check its homepage. This brief tutorial shows students and new users how to install Publii CMS on Ubuntu 16.04, 18.04, and 18.10. To get started with installing Publii CMS, please continue below:
Install Node.Js
Publii CMS runs on Node.js, a javascript runtime, and framework. To install Node.js on Ubuntu from its LTS repository, run the commands below to install: After that, Node.js should be installed and ready to use as well.
Install PM2 Process Manager
Another requirement for Publii CMS is a PM2 process manager. To install the PM2 package on Ubuntu, run the commands below: After that, your system should be ready for Publii CMS.
Install Publii CMS
To get Publii CMS, you’ll want to clone it from GitHub to your home directory. To do that run the commands below After that, change into Publii CMS folder by running the commands below. Next, install NPM from the folder by running the commands below. If you get the message below, fix the error by doing what’s recommended When you’re done, run the commands below to install Gulp. a dependency to run Publii CMS. Next, create these folders. Once Gulp has finished running, run the commands below to start up npm which is a server that Publii CMS runs on. Make sure you NPM to install jQuery: Now you can run the Publii app: Please remember to have running the dev command in the second terminal process: After that, you should be able to open your browser and browse to the server hostname or IP address. That’s it! You may also like the post below: