Install AbeCMS (Node.js) on Ubuntu 16.04 | 18.04

AbeCMS is an open source, static site generator with great user interface…. It makes it super easy to develop and design static websites for anyone knows how to write in markdown style…

AbeCMS is easily extended with one dashboard for analytics, user authentication and workflow management … There’s no database to configure – everything is created as JSON document…

Using AbeCMS to edit your content on the web should be easy and fun…. No need for learning templating and HTML…. AbeCMS hides most of that stuff and focuses on what matters most.…..

AbeCMS offers features that may not be available to other PHP based CMS, like WordPress Joomla or Drupal… All you do is write your content and its instantly published… Other features like permalinks, categories, pages, posts, and custom layouts are all top content and SEO friendly…

For more about AbeCMS , check its homepage….

This brief tutorial is going to show students and new users how to install AbeCMS on Ubuntu 16.04 | 18.04 and 18.10 systems.

These are the packages we’re going to be setting up…

  • Ruby version 2.5.3
  • Node.js 10

Step 1: Install Ruby

To install Ruby on Ubuntu, you’ll need  to install some dependencies… To make that happen, install Node.js and Yarn repositories… This will make installing the dependencies easier…

First install these curl and git packages…

sudo apt update
sudo apt install curl git

Than run the commands below to add Node.js and Yarn repositories and keys to your system…. Then install some core packages to get your environment going…

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

sudo apt-get update
sudo apt-get install nodejs yarn zlib1g-dev build-essential libpq-dev libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev

When you’re done… continue below:

After adding the repositories and installing necessary packages above, install Ruby with your local profile settings using rbenv… you’ll then use rbenv to install ruby-build…

cd ~/
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELL

git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL

After setting up your local profile… run the commands below to install Ruby version 2.5.3… If a newer version is available, replace the version number to that… visit this site to find out Ruby latest versions….

rbenv install 2.5.3
rbenv global 2.5.3

To verify that Ruby is installed, run the commands below:

ruby -v

You should see similar lines as below:

ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]

The steps above install Ruby on Ubuntu… Continue below to installing AbeCMS…

Step 2: Install Node.js

Now that Ruby environment is set up, run the commands below to install Node.js… Run the commands below to install Node.js repository, then install Node.js package…

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs

Now that Node.js is installed, run the commands below to install AbeCMS…

Step 3: Install AbeCMS

Now that your environment is ready, run the commands below to install AbeCMS and build your first site…  The abe init command build your project…

sudo npm install -g abecms
abe init

Use the wizard below to complete your project setup…

? Enter the name of the project you want to create (only letters and '-' allowed
) abecms
? Do you want to install a theme ? Yes
? Please select a theme default
? Do you activate the user management ? Yes
? Enter the username admin
? Enter the email address admin@example.com
? Enter the password [hidden]
Manager updated
Installing Abe security layer
Creating a local config file abe.json https://github.com/abecms/abecms/blob/master/docs/abe-config.md
installing the theme default
? Do you want to publish your amazing contributions on Internet yes
? Please select a deployment method on surge (it's free !)
? Please enter a domain (either your own domain or a domain.surge.sh) 

    Welcome to Surge! (surge.sh)
    Please login or create an account by entering your email and password:

           email: admin@example.com
           password: 
           password: 
? Select the plugins you want to install 
installing the plugin: abecms/abe-deployer-surge
spawn npm install abecms/abe-deployer-surge
Yeahhh! Your Abe site abecms is ready to launch!  🚀  
 cd abecms
 abe serve -i

Next change into the AbeCMS project folder and start the server from there…

cd abecms
abe serve -i

After a while, necessary packages should be installed and configured, ready to use.

Now open your browser and browse to the hostname follow by port # 3000

http://localhost:3000

You should see AbeCMS home page…

AbeCMS Ubuntu Install

Congratulation! You have successfully installed AbeCMS platform on Ubuntu 16.04 | 18.04 | 18.10

You may also like the post below:

Setup Pydio File Sharing and Sync on Ubuntu 16.04 / 18.04 with Nginx, MariaDB and PHP 7.2-FPM

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.