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

print #1

Closed
wants to merge 2 commits into from
Closed
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
3 changes: 2 additions & 1 deletion .github/workflows/ci_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:

- name: Configure Application
run: |
echo "SQLALCHEMY_DATABASE_URI=mysql+pymysql://root:password@localhost/Users" > .env
echo "SQLALCHEMY_DATABASE_URI=mysql+pymysql://root:password@mysql/Users" > .env


# Additional step for initializing the database
- name: Initialize Database
Expand Down
3 changes: 2 additions & 1 deletion app2.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def verify_password(username, password):
def create_user():
data = request.json
username = data['username']
print()
if request.args:
return make_response('', 400, {'Cache-Control': 'no-cache'})

Expand Down Expand Up @@ -158,4 +159,4 @@ def health_options_end_point():
return make_response('', 405, {'Cache-Control': 'no-cache'})

if __name__ == '__main__':
app.run(host='0.0.0.0',port= 8080, debug=True)
app.run(host='0.0.0.0',port= 8080, debug=True)
Loading