Skip to content
Snippets Groups Projects
Commit 3d67e9ac authored by Sven Mäder's avatar Sven Mäder :speech_balloon:
Browse files

Document webshare database.yml

parent 6e875b30
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
......@@ -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`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment