Wednesday, August 28, 2019

How To Install Total.js On Ubuntu 18.04

Video Tutorial Link - https://youtu.be/Yl8Woox-wH8

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Total.js framework is a framework for Node.js platfrom written in pure JavaScript similar to PHP's Laravel or Python's Django or ASP.

Offcial Website: https://www.totaljs.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 mongodb -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


npm install nosql

npm install imagemagick

npm install gm

npm install -g total.js

Download Total.js CMS package:  https://my.totaljs.com/  Register & Download ->- cms

cd sourcecode/ ; npm install

total -help

node debug.js


http://localhost:8000

http://127.0.0.1:8000/$manager/

username: admin | password: admin

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment