how do i install this panel ?
apt install curl -y
curl -sL https://deb.nodesource.com/setup_8.x | bash -
apt install nodejs build-essential libssl-dev git -y
mkdir /usr/local/src/magoware/
git clone https://github.com/MAGOWARE/backoffice-administration.git /usr/local/src/magoware/
cd /usr/local/src/magoware/
npm install -g sequelize-cli
sequelize db:migrate
apt-get update
echo -e "deb http://repo.mysql.com/apt/debian/ stretch mysql-5.7\ndeb-src http://repo.mysql.com/apt/debian/ stretch mysql-5.7" > /etc/apt/sources.list.d/mysql.list
wget -O /tmp/RPM-GPG-KEY-mysql https://repo.mysql.com/RPM-GPG-KEY-mysql --no-check-certificate
apt-key add /tmp/RPM-GPG-KEY-mysql
apt update
apt install mysql-server -y
mysql -u root -p
CREATE DATABASE magoware;
GRANT ALL PRIVILEGES ON magoware.* TO 'root'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
quit;
nano /etc/mysql/conf.d/mysql.cnf
[mysqld]
sql-mode="NO_ENGINE_SUBSTITUTION"
service mysql restart
run server
cd /usr/local/src/magoware
and excution this command
node server.js sync/sudo or nohup node server.js &
To make it easier to run, make a file.
nano /bin/magoware
and input this
cd /usr/local/src/magoware
nohup node server.js &
ctrl+x y
chmod +x magoware