瀏覽代碼

linux prereqs

pull/9/head
guest 2 年之前
父節點
當前提交
39f1a82121
共有 2 個檔案被更改,包括 21 行新增3 行删除
  1. 20
    0
      i.lin.sh
  2. 1
    3
      lin_verse.js

+ 20
- 0
i.lin.sh 查看文件

@@ -0,0 +1,20 @@
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 查看文件

@@ -4,10 +4,8 @@ var cli = require('./cliverse')
var nodeShellExec = cli.nodeShellExec;

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

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

Loading…
取消
儲存