Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PizzaPalace
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TheJoeCoder
PizzaPalace
Commits
423fc917
Verified
Commit
423fc917
authored
Sep 29, 2023
by
TheJoeCoder
Browse files
Options
Downloads
Patches
Plain Diff
[frontend] Add config file
parent
cd8e0f11
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
client/config.py.example
+1
-0
1 addition, 0 deletions
client/config.py.example
client/pizza_palace.py
+7
-0
7 additions, 0 deletions
client/pizza_palace.py
with
8 additions
and
0 deletions
client/config.py.example
0 → 100644
+
1
−
0
View file @
423fc917
server_url = "http://localhost:5000"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
client/pizza_palace.py
+
7
−
0
View file @
423fc917
...
@@ -5,6 +5,13 @@ from tkinter import *
...
@@ -5,6 +5,13 @@ from tkinter import *
## Server URL
## Server URL
server_url
=
"
http://localhost:5000
"
server_url
=
"
http://localhost:5000
"
## Additional Config file import
try
:
import
config
server_url
=
config
.
server_url
except
:
pass
## Init
## Init
root
=
Tk
()
root
=
Tk
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment