Eabled custom dev configuration.
Sometimes it is useful to allow an engineer to point the webclient at an API not running on localhost. To address this edge case, I have added src/config.json to .gitignore, and taught grunt how to copy it during the dev build/deploy phase. If the file is not found, it is ignored. Do not merge until an equivalent patch to storyboard/docs is provided. Change-Id: I82229f92271d9094ec8ad4b52c38f3bc7ef7fa42
This commit is contained in:
parent
a9bc6c0478
commit
f148f2d25e
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,3 +11,4 @@ cover
|
||||
.tox
|
||||
src/theme/custom/**.less
|
||||
src/theme/custom/**.ico
|
||||
src/config.json
|
@ -230,7 +230,8 @@ module.exports = function (grunt) {
|
||||
src: [
|
||||
'**/*.{txt,eot,ttf,woff}',
|
||||
'*.html',
|
||||
'robots.txt'
|
||||
'robots.txt',
|
||||
'config.json'
|
||||
]
|
||||
},
|
||||
{
|
||||
|
1
src/config.json.sample
Normal file
1
src/config.json.sample
Normal file
@ -0,0 +1 @@
|
||||
{"storyboardApiBase": "http://storyboard.openstack.org/api/v1"}
|
Loading…
x
Reference in New Issue
Block a user