Commit 0d0fb538 authored by Syed Bilal Raees's avatar Syed Bilal Raees

changes to yaml

parents 15f350c1 88214063
Pipeline #2043 failed
...@@ -15,16 +15,23 @@ build_app: ...@@ -15,16 +15,23 @@ build_app:
- python3 -m venv python3-virtualenv - python3 -m venv python3-virtualenv
- source python3-virtualenv/bin/activate - source python3-virtualenv/bin/activate
- pwd - pwd
- whoami
script: script:
- pip install Flask - pip install Flask
# - export FLASK_APP=hello.py # - export FLASK_APP=hello.py
# - export FLASK_ENV=development # - export FLASK_ENV=development
# - flask run # - flask run
<<<<<<< HEAD
# - echo "deploy to staging server" # - echo "deploy to staging server"
# - systemctl daemon-reload # - systemctl daemon-reload
# - systemctl enable python.service # - systemctl enable python.service
# - systemctl start python.service # - systemctl start python.service
# - systemctl status python.service # - systemctl status python.service
=======
- echo "deploy to staging server"
- systemctl start python.service
- systemctl status python.service
>>>>>>> 8821406376f9ad865ceee187b26af163d46b2165
# environment: # environment:
# name: staging # name: staging
# url : http://localhost/test # url : http://localhost/test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment