Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
readme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
isgphys
readme
Commits
3d67e9ac
Commit
3d67e9ac
authored
2 years ago
by
Sven Mäder
Browse files
Options
Downloads
Patches
Plain Diff
Document webshare database.yml
parent
6e875b30
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
web/webshares.markdown
+1
-1
1 addition, 1 deletion
web/webshares.markdown
web/wsgi.markdown
+6
-0
6 additions, 0 deletions
web/wsgi.markdown
with
7 additions
and
1 deletion
web/webshares.markdown
+
1
−
1
View file @
3d67e9ac
...
...
@@ -95,7 +95,7 @@ The sub-directory `archive` may contain old archived log files from recent migra
## Access the database
Some websites are connected to an SQL database, which can be
[
accessed via web-interface
](
https://gui.sqlweb.phys.ethz.ch/adminer/
)
.
Select the Server
`sqlweb`
and connect using the credentials
that were provided to you
.
Select the Server
`sqlweb`
and connect using the credentials
in
`private/database.yml`
.
For connections from your dynamic website code, use
`sqlweb.phys.ethz.ch`
as the database hostname.
...
...
This diff is collapsed.
Click to expand it.
web/wsgi.markdown
+
6
−
0
View file @
3d67e9ac
...
...
@@ -46,3 +46,9 @@ and your app should only be deployed to our server once it is stable.
The freeze file will be automatically generated and contains all package versions installed
in the venv. It is needed to reproducibly re-generate the exact state of the venv later,
please do not modify this file.
## Database
If your app needs a database connection, please directly include the generated YAML settings from your app:
-
Database parameters:
`/home/wwwshare/private/database.yml`
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