mirror of https://github.com/vector-im/riot-web
add template config file for riot installation
parent
01612f71bf
commit
7ecd7d3873
|
@ -1 +1,2 @@
|
|||
riot-web
|
||||
riot-web
|
||||
riot.pid
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"default_hs_url": "http://localhost:8008",
|
||||
"default_is_url": "https://vector.im",
|
||||
"disable_custom_urls": false,
|
||||
"disable_guests": false,
|
||||
"disable_login_language_selector": false,
|
||||
"disable_3pid_login": false,
|
||||
"brand": "Riot",
|
||||
"integrations_ui_url": "https://scalar.vector.im/",
|
||||
"integrations_rest_url": "https://scalar.vector.im/api",
|
||||
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
|
||||
"features": {
|
||||
"feature_groups": "labs",
|
||||
"feature_pinning": "labs"
|
||||
},
|
||||
"default_federate": true,
|
||||
"welcomePageUrl": "home.html",
|
||||
"default_theme": "light",
|
||||
"roomDirectory": {
|
||||
"servers": [
|
||||
"localhost:8008"
|
||||
]
|
||||
},
|
||||
"welcomeUserId": "@someuser:localhost",
|
||||
"piwik": {
|
||||
"url": "https://piwik.riot.im/",
|
||||
"whitelistedHSUrls": ["http://localhost:8008"],
|
||||
"whitelistedISUrls": ["https://vector.im", "https://matrix.org"],
|
||||
"siteId": 1
|
||||
},
|
||||
"enable_presence_by_hs_url": {
|
||||
"https://matrix.org": false
|
||||
}
|
||||
}
|
|
@ -6,6 +6,7 @@ curl -L https://github.com/vector-im/riot-web/archive/${RIOT_BRANCH}.zip --outpu
|
|||
unzip riot.zip
|
||||
rm riot.zip
|
||||
mv riot-web-${RIOT_BRANCH} riot-web
|
||||
cp config-template/config.json riot-web/
|
||||
pushd riot-web
|
||||
npm install
|
||||
npm run build
|
||||
|
|
Loading…
Reference in New Issue