Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All new deps #17

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
venv/*
env/
**/*.pytest_cache
**/__pycache__
app/__pycache__
app/frontend/__pycache__/
app/frontend/api/__pycache__/
**/.DS_Store
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3-alpine
FROM python:3.10-alpine

MAINTAINER Peter Fisher

Expand Down
6 changes: 2 additions & 4 deletions app/app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from flask import Blueprint, Flask
from flask import Flask
from flask_login import LoginManager
from flask_bootstrap import Bootstrap
from frontend import frontend_blueprint
Expand All @@ -11,14 +11,12 @@

bootstrap = Bootstrap(app)


app.config.update(dict(
SECRET_KEY="powerful secretkey",
WTF_CSRF_SECRET_KEY="a csrf secret key",
PRODUCT_SERVICE= 'http://192.168.99.100:8081'
PRODUCT_SERVICE='http://0.0.0.0:8081'
))

app.register_blueprint(frontend_blueprint)

app.run(debug=True, host='0.0.0.0')

2 changes: 1 addition & 1 deletion app/frontend/forms.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField, HiddenField, IntegerField, SelectField
from wtforms import StringField, PasswordField, SubmitField, HiddenField, IntegerField
from wtforms.validators import DataRequired, Email


Expand Down
51 changes: 26 additions & 25 deletions app/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
atomicwrites==1.2.1
attrs==18.2.0
atomicwrites==1.4.0
attrs==21.4.0
blinker==1.4
certifi==2018.10.15
chardet==3.0.4
Click==7.0
dominate==2.3.4
Flask==1.0.2
Flask-Bootstrap==3.3.7.1
certifi==2021.10.8
chardet==4.0.0
dominate==2.6.0
Flask-Login==0.4.1
Flask-SQLAlchemy==2.3.2
Flask-WTF==0.14.2
idna==2.7
ItsDangerous==1.1.0
MarkupSafe==1.1.1
Jinja2==2.10.1
more-itertools==4.3.0
Flask-SQLAlchemy==2.5.1
flask-swagger-ui==3.36.0
Flask-Bootstrap>=3.3
Flask-WTF>=0.14
wtforms[email]==2.3.1
idna==3.3
more-itertools==8.12.0
mysql-connector==2.2.9
passlib==1.7.1
pluggy==0.8.0
py==1.7.0
pytest==3.9.1
requests==2.20.0
six==1.11.0
SQLAlchemy==1.3.0
urllib3==1.24.2
passlib==1.7.4
pluggy==1.0.0
py==1.11.0
pytest==7.1.1
requests==2.27.1
six==1.16.0
SQLAlchemy==1.4.32
urllib3==1.26.9
visitor==0.1.3
Werkzeug==0.16.1
WTForms==2.1
click==8.1.0
Flask==2.1.0
itsdangerous==2.1.2
Jinja2==3.1.1
MarkupSafe==2.1.1
Werkzeug~=2.0.0