Skip to content

pinezapple/LibraryProject20201

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

279 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website Quản lý thư viện trường

Thông tin đề tài

Mã lớp chuyên ngành : VUWIT16A

Thành viên :

  • Nguyễn Thanh Tùng - 20176121
  • Phạm Thanh Hằng - 20176085

Ngôn ngữ và framework sử dụng :

  • Golang, Python, proto3, bash (backend).
  • Bootstrap, Javascript (frontend).

Các opensource softwares sử dụng:

Cách cài đặt các dependencies và deploy hệ thống: Cài đặt etcd:

  • Tải các bản release của etcd tại đây.
  • Chạy etcd:
cd /your/etcd/file
./bin/etcd

Cài đặt cassandra:

  • Cassandra được cài đặt như link.
  • Cassandra sẽ start bằng lệnh:
systemctl start cassandra.service

Cài đặt gRPC cho Golang:

  • Để đặt gRPC thực hiện như link

Deploy hệ thống:

  • Clone code từ github:
git clone https://github.com/pinezapple/LibraryProject20201.git
  • Push config của các service lên etcd:
cd /your/cloned/files
cd etcdConfigs && python3 pushConfigs.py
  • Chạy các service docmanager:
cd /your/cloned/files
./docmanager/docmanger -shard_id=`service shard id`
  • Chạy service portal:
cd /your/cloned/files
./portal/portal -shard_number=`your total shards number`

Các tài liệu khác :

About

A school project for 20192-20201 semester

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5