You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,10 @@ This repository contains 2 useful scripts which install bots and different versi
5
5
- install.sh
6
6
- deploybot.sh
7
7
8
+
We also have a simple bot which will allows you to tryout our scripts without having to create a bot.
9
+
10
+
Follow the steps below to assimilate how the scripts works, as well as the automatic-release of travis.
11
+
8
12
## Install ChatScript on your Linux server
9
13
10
14
### How to use the script ?
@@ -33,7 +37,9 @@ You must have a bot, and his data must be organized like in this repository:
33
37
### What does Travis do ?
34
38
35
39
There is a .travis.yml which is our travis file to auto-release the bot.
36
-
Travis is triggered at each commit on the branch 'openSource', execute the packaging script and create a release from a tag.
40
+
Travis is triggered at each commit on the branch 'master', execute the packaging script and create a release from a tag.
41
+
42
+
The .travis.yml file need the scripts in release folder to create and commit release on github.
37
43
38
44
*[Travis Documentation](https://docs.travis-ci.com/) - For more informations.
39
45
@@ -57,25 +63,28 @@ Enter your github token.
57
63
58
64
- Download the Bot version selected in BOTS folder.
59
65
- Start or Restart your current Bot.
60
-
- We chose to put the folders TOPIC, USERS and LOGS in the Bot folder because this is specific to each bot, not to ChatScript.
66
+
- Reset the cron job depending on the bot you just have deployed.
67
+
- We chose to put the folders TOPIC, USERS and LOGS in the Bot folder because this is specific to each bot, not to ChatScript; it is this organization that allows us to have a better logic in our architechture.
61
68
- Delete your private data (BOTDATA, files1.txt)
62
69
63
70
If you are looking for more info, you are free to read the code :).
64
71
65
-
### Tree
72
+
### Final Tree Example
66
73
67
74
```
68
75
BOTS
69
76
|------ HelloBot
70
-
|------ BOTDATA
77
+
|------ BOTDATA*
71
78
|------ LOGS
72
79
|------ TOPIC
73
80
|------ USERS
74
-
|------ files1.txt
81
+
|------ files1.txt*
75
82
CS
76
83
|------ authorizedIP.txt
77
84
|------ ChatScript -> ChatScript-7.3
78
85
|------ ChatScript-7.3
79
86
|------ ChatScript-7.1
80
87
|------ authorizedIP.txt -> ../authorizedIP.txt
81
88
```
89
+
90
+
**Deleted at the end of the deployment to not leave your own data.
0 commit comments