Browse Source

linux prereqs

master
guest 2 years ago
parent
commit
39f1a82121
2 changed files with 21 additions and 3 deletions
  1. 20
    0
      i.lin.sh
  2. 1
    3
      lin_verse.js

+ 20
- 0
i.lin.sh View File

sudo apt update

# Install prerequisites for dev environment


# Install mysql
sudo apt install mysql-server -y
systemctl is-active mysql
sudo mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password by 'mysql#minA1';"
sudo mysql_secure_installation
sudo mysql -e "FLUSH PRIVILEGES;" -u root -pmysql#minA1
systemctl status mysql.service

# Init DB schema and Load Data
mysql -u root -pmysql#minA1 < cihsr-data/cihsr-dev-schema.sql


sudo apt install python2
sudo apt install build-essential
sudo apt install -y make

+ 1
- 3
lin_verse.js View File

var nodeShellExec = cli.nodeShellExec; var nodeShellExec = cli.nodeShellExec;


// PB : TODO -- linux prerequistes. // PB : TODO -- linux prerequistes.
// export GIT_SSL_NO_VERIFY=true
// npm i -g nodemon // npm i -g nodemon
// sudo apt install python2
// sudo apt install build-essential
// sudo apt install -y make


// phantomjs": "^2.1.7 // phantomjs": "^2.1.7
// "sass": "^1.32.7", // "sass": "^1.32.7",

Loading…
Cancel
Save