Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app_zip
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tarun.madamanchi
app_zip
Commits
0b1ec1b2
Commit
0b1ec1b2
authored
Jan 12, 2024
by
tarun2512
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
third commit
parent
da4b6674
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
.env
.env
+1
-1
app.py
app.py
+12
-0
No files found.
.env
View file @
0b1ec1b2
MONGO_URI=mongodb://iLens:iLens%231234@20.83.1.150:2717/?authMechanism=DEFAULT&directConnection=true
BASE_URI=https://dmpc.demo.rockwellautomation.com/
LOGIN_TOKEN=
ceac9fbbbd14449286862bc1e5d54dd6
LOGIN_TOKEN=
d3a952ab83284930a12721ff652adb5b
USER_ID=fpWx7Aw4NJzzXWxcE6w5dU
PROJECT_ID=project_448
APP_NAME=FT Energy Manager
...
...
app.py
0 → 100644
View file @
0b1ec1b2
from
dotenv
import
load_dotenv
import
os
load_dotenv
()
from
app_publish_script
import
app_zip
PROJECT_ID
=
os
.
environ
.
get
(
"PROJECT_ID"
)
APP_NAME
=
os
.
environ
.
get
(
"APP_NAME"
)
PREFIX
=
os
.
environ
.
get
(
"PREFIX"
)
if
__name__
==
"__main__"
:
app_zip
(
APP_NAME
,
PROJECT_ID
,
PREFIX
)
\ No newline at end of file
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