1234567891011121314151617181920212223242526272829303132 |
- sudo apt update
-
- # Install prerequisites for dev environment
-
- sudo apt install python2
- sudo apt install build-essential
- sudo apt install -y make
- sudo apt install nodejs
- sudo apt install npm
- sudo apt install git
- --
- git clone http://git.bbh.org.in/chess/elxr.git
- cd elxr
- elxr use elixir
- cd ..
- elxr i
-
- # 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
-
-
-
-
|