This is the server for asking to launch the Swiftea Crawler.
Current version is 0.0.1
.
virtualenv -p /usr/bin/python3.7 venv
Add these lines in venv/bin/activate
:
export FLASK_APP=app/app.py
export FLASK_ENV=development
with this command : echo -e "export FLASK_APP=app/app.py\nexport FLASK_ENV=development" >> venv/bin/activate
Then:
source venv/bin/activate
pip install -r requirements.txt
flask run
prospector > prospector_output.json
Application path: /www/swiftea-server/app.wsgi
.
Working directory: /www/swiftea-server
.
pip install -r requirements.txt --user
Create folder wroker
and upload wroker/crawler-config.json
.
Install the new version of swiftea-crawler
if available.
cd /www/swiftea-server
git pull
Restart the server.