enduro.js is a minimalistic, lean & mean node.js CMS with robust admin and user interfaces. It is built for speed and is excellent for anyone who wants to develop great websites.
enduro.js is easily extended with one dashboard for analytics, user authentication, and workflow management. There’s no database to configure; everything is created as JSON.
Using enduro.js to edit your content on the web should be easy and fun. No need to learn templating and HTML. It hides most of that stuff and focuses on what matters most.
For more about enduro.js, check its homepage.
This brief tutorial will show students and new users how to install enduro.js on Ubuntu 16.04 | 18.04 and 18.10 systems.
These are the packages we’re going to set up.
- Ruby version 2.5.3
- Node.js 8
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
Then 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_8.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 the 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 with that. Then, visit this site to find out about Ruby’s 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 below:
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
The steps above install Ruby on Ubuntu. Continue below to install enduro.js.
Install Node.js
Now that the Ruby environment is set up run the commands below to install Node.js. First, run the commands below to install the Node.js repository, then install the Node.js package.
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs
Now that Node.js is installed run the commands below to install enduro.js.
Install enduro.js
Now that your environment is ready, run the commands below to install enduro.js globally and build your projects. The following command will create an enduro project folder in your home directory.
You can name it whatever you like.
sudo npm install enduro -g cd ~/ enduro create enduro
After creating the project folder, change it and start the server.
cd enduro enduro start
After a while, necessary packages should be installed and configured, ready to use.
If you run into the issues above, you can also clone the project from Github.
git clone https://github.com/Gottwik/Enduro.git enduro
Then change into enduro and run the commands below
sudo npm link sudo npm install enduro start
Now open your browser and browse to the hostname followed by port # 5000
To create an admin user, run the commands below
enduro admin add admin admin_password
http://localhost:5000/admin
You should see the enduro.js home page.

Enjoy!

Congratulation! You have successfully installed the enduro.js platform on Ubuntu 16.04 | 18.04 | 18.10
You may also like the post below: