您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

readme.md 1.4KB

Installing Elixir in Ubuntu

AUTOMATED INSTALL

wget -q -O - https://git.bbh.org.in/chess/elxr/src/branch/master/i.lin.sh | bash

Addtional steps For Production

  1. NODE_ENV=production elxr use elixir
  2. SyncMaster

MANUAL INSTALL

  • ### Step 1: Install Dependencies
Tested for Ububtu 20.04

1a: Install Node

sudo apt update
sudo apt upgrade
sudo apt install nodejs
node -v
sudo apt install npm

1b: Install Git 1c: Clone elxr

  • Step 2: elxr pull

  • Step 3: Switch branch

    elxr use elixir

  • Step 4: SyncMaster (only for production)

  • Step 5: Pull all instances

    elxr npm i


Installing Elixir in Windows

1) On the target drive ( D: ) preferably. Create a folder D:\chess\dev 2) For production create D:\chess\ProductionA, D:\chess\ProductionB

AUTOMATED INSTALL

save https://git.bbh.org.in/chess/elxr/src/branch/master/i.win.js to folder. cscript i.win.js

Addtional steps For Production

  1. NODE_ENV=production elxr use elixir
  2. SyncMaster

MANUAL INSTALL

Step 1: Install Dependencies

  • Install Node
  • Install Git
  • Clone elxr
    git clone http://git.bbh.org.in/chess/elxr.git
    
  • Create elxr alias
    cd elxr
    npm link
    

Step 2: elxr pull

Step 3: Switch branch

Step 4: SyncMaster (only for production)

Step 5: Pull all instances