Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pythonApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Syed Bilal Raees
pythonApp
Commits
bd5ae3da
Commit
bd5ae3da
authored
May 30, 2022
by
Syed Bilal Raees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deletion of files and modification in yaml
parent
c74eb9b8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
15 deletions
+1
-15
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
abc.sh
abc.sh
+0
-3
production.py
production.py
+0
-11
No files found.
.gitlab-ci.yml
View file @
bd5ae3da
...
...
@@ -77,7 +77,7 @@ job1:
-
pip install Flask
# - echo $PATH
-
echo "deploying to development server"
-
sudo systemctl start p
rod
.service
-
sudo systemctl start p
ython
.service
only
:
-
dev
tags
:
...
...
abc.sh
deleted
100755 → 0
View file @
c74eb9b8
if
[
$CI_COMMIT_REF_NAME
==
"master"
]
;
then
echo
"deploying to dev server"
sudo
systemctl start python.service
;
fi
production.py
deleted
100644 → 0
View file @
c74eb9b8
import
flask
app
=
flask
.
Flask
(
__name__
)
app
.
config
[
"DEBUG"
]
=
True
@
app
.
route
(
'/'
,
methods
=
[
'GET'
])
def
home
():
return
"<h1>PRODUCTION ENVIRONMENT</h1><p>This site is a prototype API for greeting Nisum DevOps!</p>"
app
.
run
(
host
=
'0.0.0.0'
,
port
=
5003
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment