Update python deps
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2020-04-09 11:03:39 +02:00
parent f08157266f
commit 40f3663b73
3 changed files with 13 additions and 16 deletions

View File

@ -1,6 +1,8 @@
# 𝛑 😼 た # 𝛑 😼 た
> "PyNyaaTa", Xéfir's personal animes torrent search engine > "PyNyaaTa", Xéfir's personal animes torrent search engine
[![Build Status](https://ci.crystalyx.net/api/badges/Xefir/PyNyaaTa/status.svg)](https://ci.crystalyx.net/Xefir/PyNyaaTa)
I'm lazy and I want to search across severall VF and VOSTFR torrents databases in one click. I'm lazy and I want to search across severall VF and VOSTFR torrents databases in one click.
That's the starting point that build this app. That's the starting point that build this app.
At first, it was a crappy PHP project without any good future. At first, it was a crappy PHP project without any good future.
@ -11,10 +13,9 @@ After a good rewrite in Python, it's time to show it to the public, and here it
### With Docker ### With Docker
- Install Docker: https://hub.docker.com/search/?type=edition&offering=community - Install Docker: https://hub.docker.com/search/?type=edition&offering=community
- Clone this repository - Be sure to have a MySQL Server installed and running
- Launch a terminal and move into the root of the cloned repository - Create a .env like [this one](.env.dist)
- Run `docker-compose build` - Run `docker run --env-file .env -p 5000 xefir/pynyaata`
- Run `docker-compose up -d`
- The app is accessible at http://localhost:5000 - The app is accessible at http://localhost:5000
### Without Docker ### Without Docker

View File

@ -30,7 +30,6 @@ app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+pymysql://%s:%s@%s/%s?charset=utf
db_user, db_password, db_host, db_name db_user, db_password, db_host, db_name
) )
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True
app.config['SQLALCHEMY_POOL_RECYCLE'] = 200
app.config['SQLALCHEMY_ECHO'] = IS_DEBUG app.config['SQLALCHEMY_ECHO'] = IS_DEBUG
app.url_map.strict_slashes = False app.url_map.strict_slashes = False
auth = HTTPBasicAuth() auth = HTTPBasicAuth()

View File

@ -1,13 +1,10 @@
Flask==1.0.2 Flask==1.1.2
Flask-SQLAlchemy==2.1 Flask-SQLAlchemy==2.4.1
SQLAlchemy==1.2.18 Flask-HTTPAuth==3.3.0
Flask-HTTPAuth==3.2.4 Flask-WTF==0.14.3
Flask-WTF==0.14.2
WTForms==2.2.1 WTForms==2.2.1
PyMySQL==0.9.3 PyMySQL==0.9.3
requests==2.21.0 requests==2.23.0
beautifulsoup4==4.7.1 beautifulsoup4==4.9.0
python-dotenv==0.9.1 python-dotenv==0.12.0
Werkzeug==0.14.1 cloudscraper==1.2.33
requests-toolbelt
cloudscraper