Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Portal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fachschaft
Portal
Commits
6a49c78e
Commit
6a49c78e
authored
8 months ago
by
Jakob Moser
Browse files
Options
Downloads
Plain Diff
Merge branch 'env-for-flask-shell' into 'master'
Add environment variables for flask shell Closes
#22
See merge request
!11
parents
d1b57d5d
8718f87f
No related branches found
No related tags found
1 merge request
!11
Add environment variables for flask shell
Pipeline
#6541
failed
8 months ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+8
-0
8 additions, 0 deletions
README.md
docker-compose.dev.yml
+2
-0
2 additions, 0 deletions
docker-compose.dev.yml
with
10 additions
and
0 deletions
README.md
+
8
−
0
View file @
6a49c78e
[

](https://portal.fachschaft.cl.uni-heidelberg.de)
# Development
To run a flask shell inside the container:
```
sh
sudo
docker
exec
-it
portal-app-1 flask shell
```
This diff is collapsed.
Click to expand it.
docker-compose.dev.yml
+
2
−
0
View file @
6a49c78e
services
:
app
:
environment
:
-
FLASK_APP=portal
build
:
context
:
.
target
:
dev
...
...
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
register
or
sign in
to comment