-
create oracle account
-
install java
https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
- Add system environment variable:
JAVA_HOME C:\Program Files\Java\jdk-11.0.10
- Add java bin to PATH environment variable
C:\Program Files\Java\jdk-11.0.10\bin
-
Create a new directory C:\Gradle
-
Download Gradle binary
6.1 Windows
Copy Gradle content to c:\Gradle
Add gradle bin to PATH environment variable
C:\Gradle\bin
6.2 Ubuntu 21.04
VERSION=6.5.1 wget https://services.gradle.org/distributions/gradle-${VERSION}-bin.zip -P /tmp
sudo unzip -d /opt/gradle /tmp/gradle-${VERSION}-bin.zip
sudo ln -s /opt/gradle/gradle-${VERSION} /opt/gradle/latest
sudo nano /etc/profile.d/gradle.sh
/etc/profile.d/gradle.sh
export GRADLE_HOME=/opt/gradle/latest export PATH=${GRADLE_HOME}/bin:${PATH}
sudo chmod +x /etc/profile.d/gradle.sh
source /etc/profile.d/gradle.sh
- Install nodejs
Use option to automatically install necessary tools
Press enter to inhird paries in opened termanal
https://nodejs.org/dist/v14.16.0/node-v14.16.0-x64.msi
- install Microsoft Bot Framework Emulator
Use: anyone who use this comuter option
https://github.com/microsoft/BotFramework-Emulator/releases
-
install git for windows
-
Open Git Bash Here for folder menu
-
Create woring directory
mkdir c:\my
cd c:\my\
- Clone repository in terminal
git clone https://github.com/arise-project/checklist_bot.git
-
Open cmd
-
cd c:\my\checklist_bot\core
-
Build core for bot
gradle build
-
cd c:\my\checklist_bot\ypbot
-
Install bot dependancies
npm install
- Stat bot
npm start
-
Run Microsoft Bot Emulator
-
Open bot for url
http://locahost:3978/api/messages
-
Click configure ngrok
-
Uncheck Bypass ngrok to local address
-
Try send command to bot
statistics
gradle run --args="read_text_file 'English for Career Development' /home/eugene/Documents/English_for_Career_Development set_battr NOTE_692302932 attr1 save_storage /home/eugene/Documents/text.json statistics"
##Merge with file changes
gradle clean fatJar
gradle run --args="read_text_file 'English for Career Development' /home/eugene/Documents/English_for_Career_Development read_text_file 'English for Career Development' /home/eugene/Documents/my_changes save_storage /home/eugene/Documents/text.json"
cd build/libs/
java -jar -Xmx512M --illegal-access=warn checklist_bot-all-1.0.jar
gradle run --args="connect_everynote list_enotebooks list_all_enotes list_enotes_for_notebook eat" gradle run --args="connect_everynote read_enote plov statistics save_storage 1.xml"