Kaydet (Commit) 024bcd4c authored tarafından Ömer SAVAŞ's avatar Ömer SAVAŞ

BugFix

üst c2323c2e
......@@ -8,17 +8,17 @@ Bu uygulama içerisinde bir çok servisi barındırır. Bu sebeple önerilen san
[1] Testler UbuntuServer19.20 işletim sistemi üzerinde yapıldığı için önerilmektedir.
###Linux
```sh
chmod +x start.sh
### Linux
```
wget https://raw.githubusercontent.com/karapazar/Angaryos/master/start.sh
chmod +x start.sh
./start.sh
```
###Windows
### Windows
###Mac
### Mac
## Kullanım
......
......@@ -58,7 +58,7 @@ services:
####### FRONTEND #######
frontend:
image: karapazar/angular-serve:0.6
image: karapazar/angular-serve:0.10
volumes:
- ./frontend:/usr/src/app
networks:
......
......@@ -5,4 +5,7 @@ WORKDIR /usr/src/app
COPY . /usr/src/app/
RUN npm install
RUN npm install -g @angular/cli
CMD ["./start.sh"]
\ No newline at end of file
<form-element-string [(ngModel)]="value" (changed)="handleChange($event)"></form-element-string>
\ No newline at end of file
import {Component, OnInit, EventEmitter, Input, Output, ViewEncapsulation} from '@angular/core';
@Component(
{
selector: 'form-element',
styleUrls: ['./form-element.component.scss'],
templateUrl: './form-element.component.html',
encapsulation: ViewEncapsulation.Native
})
export class FormElementComponent implements OnInit
{
@Input() type: string;
@Input() value: string;
@Output() changed = new EventEmitter();
constructor( ) { }
handleChange(event)
{
this.value = event.target.value;
this.changed.emit(event.target.value);
}
ngOnInit() {}
}
\ No newline at end of file
<input
name="name"
type="text"
[(ngModel)]="value"
(change)="handleChange($event)" />
\ No newline at end of file
import {Component, OnInit, EventEmitter, Input, Output, ViewEncapsulation} from '@angular/core';
@Component(
{
selector: 'form-element-string',
styleUrls: ['./string.component.scss'],
templateUrl: './string.component.html',
encapsulation: ViewEncapsulation.Native,
})
export class FormElementStringComponent implements OnInit
{
@Input() value: string = "";
@Output() changed = new EventEmitter();
constructor( ) { }
handleChange(event)
{
this.changed.emit(event.target.value);
}
ngOnInit() {}
}
\ No newline at end of file
......@@ -3,6 +3,7 @@ apt-get install -y docker.io git
docker swarm init
git clone https://github.com/karapazar/Angaryos
cd Angaryos/
chmod 777 -R frontend/
chmod 777 -R backend/storage/
chmod 777 -R backend/bootstrap/cache/
......
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