Evgeny Polivanov пре 2 година
родитељ
комит
7c9440aeb3
2 измењених фајлова са 3 додато и 5 уклоњено
  1. 1 5
      README.md
  2. 2 0
      run.bat

+ 1 - 5
README.md

@@ -1,11 +1,7 @@
 # REST API Python
 ### Instruction
 1. Change config.py
-2. Open **cmd** and instal virtualenv via command ```python -m venv rest_venv```
-3. Go to ```cd rest_venv/Scripts && activate.bat```
-4. Go back ```cd ../../``` and instal libs via ```pip install -r requirements.txt```
-5. Run app via ```python api.py```
+2. Open **cmd** and enter next command ```run.bat```
 
-**Libs:** ***Flask, xmpppy, psycopg2, sshtunnel, flask-jwt-extended***
 ### <a href="https://documenter.getpostman.com/view/18312872/UzBjrSwk">Documentation</a>
 

+ 2 - 0
run.bat

@@ -0,0 +1,2 @@
+@echo off
+python -m venv rest_venv && %~dp0\rest_venv\Scripts\activate.bat && pip install -r requirements.txt && python %~dp0\api.py