Skip to content

[ADD] connect mysql db, modify index.html #2

[ADD] connect mysql db, modify index.html

[ADD] connect mysql db, modify index.html #2

Workflow file for this run

name: Flask Server CI
on: [push]
jobs:
run-flask:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Flask server
run: |
nohup flask run --host=0.0.0.0 &
sleep 10
curl http://localhost:5000