How To Install LocomotiveCMS on Ubuntu 18.04
Video Tutorial -
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Locomotive is an open source platform to create, publish and edit sites (CMS).
Features:
Multi-sites natively supported
Uses Liquid, a simple and clean templating language
Easy to add custom sections, content types, no SQL needed
Beautiful and intuitive editing interface
Can fully localize all the content and pages
Embed a Restful API to manage every site
Develop and preview sites locally with your favorite tools (Wagon)
Support for Webpack, SASS, HAML and Coffee Script (Wagon)
Offcial Website: https://www.locomotivecms.com/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-
Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit | IP address- 192.168.1.50 | Hostname :www.yourdomain.com
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd ; hostname ; hostname -I ; whoami ; getconf LONG_BIT ; apt update ; apt install -y build-essential software-properties-common git curl gdebi net-tools wget sqlite3 dirmngr nano lsb-release apt-transport-https -y
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
apt-get update ; 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 libffi-dev -y
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
rbenv install 2.5.3
rbenv global 2.5.3
gem install bundler
gem install rails -v 5.2.3
rbenv rehash
gem install locomotivecms_wagon
wagon version
mkdir -p ~/example.com
cd ~/example.com
wagon init example.com -t bootstrap
cd example.com
bundle install
bundle exec wagon serve
http://192.168.1.50:3333
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment