Skip to content

this is an example about using angularjs 6 and socketIO

License

Notifications You must be signed in to change notification settings

lamvananh/demoAngular6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demoAngular

this is an example of using AngularJS6 with socketIO and material control

Hướng dẫn cài đăt:

  1. clone respository:

git clone https:/lamvananh/demoAngular6.git

  1. duyệt CMD tới thư mục đã tải về

  2. cài các module cho client: duyệt CMD tới thư mục client và chạy lệnh:

    npm install

4.Cài các module cho server: duyệt CMD tới thư mục "server" và chạy lệnh:

npm install

Vui lòng đợi đến khi quá trình cài đặt hoàn tất.

Hướng dẫn buid server:

1.duyệt cmd tới thư mục "server"
    
2. chạy lệnh sau để build:
    
	gulp build
            
3.duyệt CMD vào thư mục "dist"
    
	cd dist
            
4.Chạy lệnh để start server:
    
	node index.js

Hướng dẫn buid client:

1. Duyệt CMD tới thư mục "client"
    
	cd client
            
2. chạy lệnh sau để chạy:
    
	ng serve 
            
3. Mở trình duyệt và duyệt tới trang "localhost:4200"

Chú ý: Để tránh các thiết lập phức tạp không càn thiết cho mục đích demo, vui lòng đảm bảo cổng 8080 và 4200 hiện tại đang không bị sử dụng. Mọi chi tiết xin vui lòng liên hệ qua địa chỉ email: [email protected]

About

this is an example about using angularjs 6 and socketIO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published