Clone the repository #
Go to our github page and clone the repository
Prerequisites for Installation #
- ★ Linux server
- ★ Terminal/Command prompt
- ★ Lamp install
- ★ Tmux
- ★ Redis server
- ★ Nodejs
- ★ Cron Job
- ★ NPM
- ★ Project Setup
NOTE: Installation for ubuntu 16.04
and ubuntu 18.0
In the package.json
file, you will find all of the dependencies (and scripts) to install them using the following command:
sudo apt-get update
sudo apt-get install apache2
install database MySQL #
Do you have ubuntu 16.04? use this commands.
sudo apt-get install mysql-server sudo mysql_secure_installation
Do you have ubuntu 18.04? use this commands.
sudo apt install mysql-server sudo mysql_secure_installation sudo mysql SELECT user,authentication_string,plugin,host FROM mysql.user; ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'UPDATE_YOUR_MYSQL_PASSWORD; FLUSH PRIVILEGES; SELECT user,authentication_string,plugin,host FROM mysql.user; exit
install dependencies #
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt install php7.1
sudo apt install php7.1-cli php7.1-xml php7.1-mysql
php7.1-mbstring php7.1-gettext php7.1-curl php7.1-common
php7.1-opcache php7.1-mcrypt php7.1-zip
Change the Upload limits php.ini file
sudo nano /etc/php/7.1/apache2/php.ini max_execution_time=-1 max_input_time=-1 memory_limit -1 post_max_size =3000M upload_max_filesize = 2048M
Setup phpMyAdmin #
sudo apt-get install phpmyadmin php-mbstring php-gettext
sudo phpenmod mcrypt
sudo phpenmod mbstring
sudo apt-get install unzip
unzip gentask-base.zip
TMUX Installation #
wget https://aravinth.net/tmux.conf
mv tmux.conf ~/.tmux.conf
Redis Server Installation #
sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt-get update
sudo apt-get install redis-server
If everything is okay, you'll see this message on Terminal
Starting redis-server: redis-server
NPM and NODEJS Installation #
To run the development mode, use the npm script
. This script will also watch for changes.
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install nodejs
sudo apt-get install nodejs-legacy
sudo apt-get install build-essential
More instructions #
You can find more detailed installation instructions on confluence that can be helpful.