Commit 9231524a authored by François Agneray's avatar François Agneray
Browse files

Fixed bug #30

parent c66fa8a1
FROM nginx
COPY dist /usr/share/nginx/html
\ No newline at end of file
COPY dist/anis-client /usr/share/nginx/html
\ No newline at end of file
UID := $(id -u)
GID := $(id -g)
# UID := $(id -u)
# GID := $(id -g)
UID := 1000
GID := 1000
list:
@echo ""
......
......@@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"toto": {
"anis-client": {
"projectType": "application",
"schematics": {},
"root": "",
......@@ -13,7 +13,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/toto",
"outputPath": "dist/anis-client",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
......@@ -64,18 +64,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "toto:build"
"browserTarget": "anis-client:build"
},
"configurations": {
"production": {
"browserTarget": "toto:build:production"
"browserTarget": "anis-client:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "toto:build"
"browserTarget": "anis-client:build"
}
},
"test": {
......@@ -112,15 +112,15 @@
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "toto:serve"
"devServerTarget": "anis-client:serve"
},
"configurations": {
"production": {
"devServerTarget": "toto:serve:production"
"devServerTarget": "anis-client:serve:production"
}
}
}
}
}},
"defaultProject": "toto"
"defaultProject": "anis-client"
}
......@@ -10,7 +10,7 @@ describe('workspace-project App', () => {
it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('Welcome to toto!');
expect(page.getTitleText()).toEqual('Welcome to anis-client!');
});
afterEach(async () => {
......
......@@ -16,7 +16,7 @@ module.exports = function (config) {
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter: {
dir: require('path').join(__dirname, './coverage/toto'),
dir: require('path').join(__dirname, './coverage/anis-client'),
reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true
},
......
{
"name": "toto",
"name": "anis-client",
"version": "0.0.0",
"lockfileVersion": 1,
"requires": true,
......
{
"name": "toto",
"name": "anis-client",
"version": "0.0.0",
"scripts": {
"ng": "ng",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment