Categorygithub.com/pinezapple/libraryproject20201
repository
0.0.0-20230509100137-6f850f40abb5
Repository: https://github.com/pinezapple/libraryproject20201.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

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 :