|
@@ -1,17 +1,28 @@
|
|
-# Simple JabberBot
|
|
|
|
-#### Simple XMPP echo bot.
|
|
|
|
|
|
+# Open Template Bot
|
|
|
|
+#### Simple example for processing orders
|
|
|
|
|
|
## Install and run
|
|
## Install and run
|
|
-1. Rename **config_template.py** to **config.py**
|
|
|
|
-2. ```python -m venv env```(for Windows) or ```python3 -m venv env```(for Linux)
|
|
|
|
-3. ```.\env\Scripts\activate``` or ```source env/bin/activate```
|
|
|
|
-4. ```pip install -r requirements.txt```
|
|
|
|
-5. ```python run.py```
|
|
|
|
-
|
|
|
|
|
|
|
|
-## Running for local server
|
|
|
|
|
|
+1. Rename **config_template.py** to **config.py**
|
|
|
|
+2. Create env
|
|
|
|
+```
|
|
|
|
+python -m venv env #for Windows
|
|
|
|
+python3 -m venv env #for Linux
|
|
|
|
+```
|
|
|
|
+3. Activate env
|
|
|
|
+```
|
|
|
|
+.\env\Scripts\activate #Windows
|
|
|
|
+source env/bin/activate #Linux
|
|
|
|
+```
|
|
|
|
+4. Instatt requirements
|
|
|
|
+```
|
|
|
|
+pip3 install -r requirements.txt
|
|
|
|
+```
|
|
|
|
+5. Run Bot
|
|
|
|
+```
|
|
|
|
+python3 open_template_bot.py
|
|
|
|
+```
|
|
|
|
|
|
-Use ```python3``` and ```pip3``` instead ```python``` and ```pip3```
|
|
|
|
|
|
|
|
## Testing
|
|
## Testing
|
|
https://democonv.sharix-app.org/ - testing client
|
|
https://democonv.sharix-app.org/ - testing client
|