Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
testcenter-frontend
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
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
IQB
discontinued
testcenter-frontend
Commits
e58bb574
Commit
e58bb574
authored
4 years ago
by
Richard Henck
Browse files
Options
Downloads
Patches
Plain Diff
Remove environment config file
This needs to be created by running make init-config
parent
7955e785
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+3
-0
3 additions, 0 deletions
Makefile
src/environments/environment.dev.ts
+10
-0
10 additions, 0 deletions
src/environments/environment.dev.ts
src/environments/environment.ts
+0
-22
0 additions, 22 deletions
src/environments/environment.ts
with
13 additions
and
22 deletions
Makefile
+
3
−
0
View file @
e58bb574
...
...
@@ -17,3 +17,6 @@ test-unit:
test-e2e
:
docker-compose
-f
docker/docker-compose.yml
exec
testcenter-frontend-dev ng e2e
--webdriver-update
=
false
--port
4202
init-config
:
cp
src/environments/environment.dev.ts environment.ts
This diff is collapsed.
Click to expand it.
src/environments/environment.
build
.ts
→
src/environments/environment.
dev
.ts
+
10
−
0
View file @
e58bb574
// ng build --configuration=build
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export
const
environment
=
{
production
:
false
,
testcenterUrl
:
'
/
'
,
testcenterUrl
:
'
http://localhost:8000
/
'
,
appPublisher
:
'
IQB - Institut zur Qualitätsentwicklung im Bildungswesen
'
,
apiVersionExpected
:
'
4.0.0
'
};
This diff is collapsed.
Click to expand it.
src/environments/environment.ts
deleted
100644 → 0
+
0
−
22
View file @
7955e785
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export
const
environment
=
{
production
:
false
,
// testcenterUrl: 'http://localhost/2020/testcenter-iqb-php-postgrestest/',
// testcenterUrl: 'https://ocba.iqb.hu-berlin.de/api/',
testcenterUrl
:
'
http://localhost/2020/testcenter-iqb-php/
'
,
// testcenterUrl: 'https://www.iqb-testcenter.de/',
// testcenterUrl: 'http://localhost/api/',
appPublisher
:
'
IQB - Institut zur Qualitätsentwicklung im Bildungswesen
'
,
apiVersionExpected
:
'
4.0.0
'
};
/*
* In development mode, to ignore zone related error stack frames such as
* `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can
* import the following file, but please comment it out in production mode
* because it will have performance impact when throw error
*/
// import 'zone.js/dist/zone-error'; // Included with Angular CLI.
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