DisQL is a distributed sqlite server written in golang, with replication done with 2-phase commit. It's suitable for your next hobby projects requiring limited database usage.
- Clone the repository:
git clone https://github.com/leoantony72/Disql.git - Navigate to the project directory:
cd Disql - Install dependencies:
go mod tidy - Start the project:
go run main.go -port=8000 -connections=localhost:9090 -file=gorm.db -rpc=8080
go run main.go -port=9000 -connections=localhost:8080 -file=db.db -rpc=9090Connect to the server 8000/9000
telnet localhost 8000Execute Sql commands
create table student(id int, name varchar(20), age int);If you'd like to contribute to Project Title, here are some guidelines:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes.
- Write tests to cover your changes.
- Run the tests to ensure they pass.
- Commit your changes.
- Push your changes to your forked repository.
- Submit a pull request.