Librarian Module is the book-share without warehouse based on Blockchain database.
FPT University Summer 2019 - Capstone Project
- Javascript
- Golang
- Node.js, Express
- Vue.js
- React, Redux
- Socket.io
- MongoDB
- BigchainDB
- Redis
- Docker, Docker Compose, Docker Swarm
- Ansible script
Setup full development environment (from fresh Ubuntu machine)
$ curl -s http://git.fptu.tech/fuchain/librarian-module/raw/branch/develop/scripts/reset.sh | sudo bash /dev/stdin
Setup a 4-node FUChain network on Docker Engine
curl -s http://git.fptu.tech/fuchain/librarian-module/raw/branch/develop/scripts/stack.sh | sudo bash /dev/stdin
Running and testing the latest version of Librarian Module cannot be easier. Make sure you have a recent version of Docker Compose installed. When you are ready, fire up a terminal and run:
$ git clone [email protected]:huynhminhtufu/librarian-module.git
$ cd librarian-module
$ make run
You can use our BigchainDB testnet at https://testnet.bigchain.fptu.tech
or deal with your own at http://localhost:9984/
.
There are also other commands you can execute:
make start
: Run Librarian Module from source and daemonize it.make stop
: Stop Librarian Module.make build
: Build all services.make reset
: Clear all services, volumns and networks.
Easy deploy to production with Docker Swarm:
Make sure you have built images on your Docker Hub and docker-stack.yml
file, then run:
$ docker swarm init
$ docker stack deploy -c docker-stack.yml librarian
- Huynh Minh Tu
- Pham Hoang Linh
- To Quoc Cuong
- Doan Vu Phong
Supervisor: Mr. Kieu Trong Khanh